Home
last modified time | relevance | path

Searched refs:url_ref (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/components/search_engines/
Dtemplate_url_unittest.cc47 EXPECT_TRUE(url.url_ref().IsValid(search_terms_data_)); in TEST_F()
70 EXPECT_TRUE(url.url_ref().IsValid(search_terms_data_)); in TEST_F()
71 ASSERT_TRUE(url.url_ref().SupportsReplacement(search_terms_data_)); in TEST_F()
72 GURL result(url.url_ref().ReplaceSearchTerms( in TEST_F()
83 EXPECT_TRUE(url.url_ref().IsValid(search_terms_data_)); in TEST_F()
84 ASSERT_TRUE(url.url_ref().SupportsReplacement(search_terms_data_)); in TEST_F()
85 GURL result(url.url_ref().ReplaceSearchTerms( in TEST_F()
95 EXPECT_TRUE(url.url_ref().IsValid(search_terms_data_)); in TEST_F()
96 ASSERT_TRUE(url.url_ref().SupportsReplacement(search_terms_data_)); in TEST_F()
97 GURL result(url.url_ref().ReplaceSearchTerms( in TEST_F()
[all …]
Dtemplate_url_parser_unittest.cc141 EXPECT_TRUE(template_url_->url_ref().SupportsReplacement(SearchTermsData())); in TEST_F()
154 EXPECT_TRUE(template_url_->url_ref().SupportsReplacement(SearchTermsData())); in TEST_F()
168 EXPECT_TRUE(template_url_->url_ref().SupportsReplacement(SearchTermsData())); in TEST_F()
197 EXPECT_TRUE(template_url_->url_ref().SupportsReplacement(SearchTermsData())); in TEST_F()
216 EXPECT_TRUE(template_url_->url_ref().SupportsReplacement(SearchTermsData())); in TEST_F()
233 EXPECT_TRUE(template_url_->url_ref().SupportsReplacement(SearchTermsData())); in TEST_F()
255 EXPECT_TRUE(template_url_->url_ref().SupportsReplacement(SearchTermsData())); in TEST_F()
Dtemplate_url_fetcher_unittest.cc175 t_url->url_ref().DisplayURL( in TEST_F()
239 last_callback_template_url()->url_ref().DisplayURL( in TEST_F()
273 last_callback_template_url()->url_ref().DisplayURL( in TEST_F()
Dtemplate_url_service_unittest.cc933 EXPECT_EQ("google.com", t_url->url_ref().GetHost(search_terms_data())); in TEST_F()
944 EXPECT_EQ("google.co.uk", t_url->url_ref().GetHost(search_terms_data())); in TEST_F()
946 EXPECT_EQ("http://google.co.uk/?q=x", t_url->url_ref().ReplaceSearchTerms( in TEST_F()
961 EXPECT_EQ("google.de", manual->url_ref().GetHost(search_terms_data())); in TEST_F()
964 EXPECT_EQ("google.de", t_url->url_ref().GetHost(search_terms_data())); in TEST_F()
972 EXPECT_EQ("google.de", manual->url_ref().GetHost(search_terms_data())); in TEST_F()
976 EXPECT_EQ("google.fr", t_url->url_ref().GetHost(search_terms_data())); in TEST_F()
997 GURL(t_url->url_ref().ReplaceSearchTerms( in TEST_F()
Dtemplate_url_fetcher.cc128 !template_url_->url_ref().SupportsReplacement( in OnURLFetchComplete()
Dtemplate_url_prepopulate_data_unittest.cc31 return TemplateURL(data).url_ref().GetHost(SearchTermsData()); in GetHostFromTemplateURLData()
Dutil.cc39 const TemplateURLRef& search_url = default_provider->url_ref(); in GetDefaultSearchURLForSearchTerms()
Dtemplate_url.h582 const TemplateURLRef& url_ref() const { return url_ref_; } in url_ref() function
Dtemplate_url_parser.cc323 !template_url->url_ref().IsValid(search_terms_data) || in GetTemplateURL()
/external/chromium_org/chrome/browser/importer/
Dprofile_writer.cc264 if (try_url_if_invalid && !t_url->url_ref().IsValid(search_terms_data)) in BuildHostPathKey()
267 if (t_url->url_ref().SupportsReplacement(search_terms_data)) { in BuildHostPathKey()
269 t_url->url_ref().ReplaceSearchTerms( in BuildHostPathKey()
327 if ((*i)->url_ref().IsValid(model->search_terms_data())) { in AddKeywords()
/external/chromium_org/chrome/browser/ui/search_engines/
Dedit_search_engine_controller.cc47 const TemplateURLRef& template_ref = t_url.url_ref(); in IsURLValid()
141 std::string expanded_url(t_url.url_ref().ReplaceSearchTerms( in GetFixedUpURL()
Dtemplate_url_table_model.cc80 if (template_url_->url_ref().IsValid( in LoadFavicon()
/external/chromium_org/chrome/browser/search_engines/
Dtemplate_url_service_android.cc105 default_search_provider->url_ref().HasGoogleBaseURLs( in IsDefaultSearchEngineGoogle()
152 default_provider->url_ref().SupportsReplacement( in GetUrlForSearchQuery()
155 url = default_provider->url_ref().ReplaceSearchTerms( in GetUrlForSearchQuery()
/external/chromium_org/components/omnibox/
Dkeyword_provider.cc370 template_url->url_ref().SupportsReplacement( in CreateAutocompleteMatch()
416 const TemplateURLRef& element_ref = element->url_ref(); in FillInURLAndContents()
Dbase_search_provider.cc251 const TemplateURLRef& search_url = template_url->url_ref(); in CreateSearchSuggestion()
Dautocomplete_match.cc372 GURL(template_url->url_ref().ReplaceSearchTerms( in GURLToStrippedGURL()
/external/chromium_org/chrome/browser/android/
Dlogo_service.cc130 if (!template_url || !template_url->url_ref().HasGoogleBaseURLs( in GetLogo()
/external/chromium_org/chrome/browser/autocomplete/
Dautocomplete_controller.cc434 match->destination_url = GURL(template_url->url_ref().ReplaceSearchTerms( in UpdateMatchDestinationURL()
642 match->destination_url = GURL(template_url->url_ref().ReplaceSearchTerms( in UpdateAssistedQueryStats()
Dsearch_provider_unittest.cc407 GURL(default_t_url_->url_ref().ReplaceSearchTerms( in QueryForInputAndSetWYTMatch()
446 GURL search(t_url->url_ref().ReplaceSearchTerms( in AddSearchToHistory()
608 GURL(default_t_url_->url_ref().ReplaceSearchTerms( in TEST_F()
856 GURL suggested_url(default_t_url_->url_ref().ReplaceSearchTerms( in TEST_F()
/external/chromium_org/chrome/browser/ui/views/
Dedit_search_engine_dialog.cc130 controller_->template_url()->url_ref().DisplayURL( in Init()
/external/chromium_org/chrome/browser/ui/webui/options/
Dsearch_engine_manager_handler.cc185 dict->SetString("url", template_url->url_ref().DisplayURL( in CreateDictionaryForEngine()
/external/chromium_org/chrome/browser/ui/cocoa/browser/
Dedit_search_engine_cocoa_controller.mm93 base::SysUTF16ToNSString(templateURL_->url_ref().DisplayURL(
/external/chromium_org/chrome/browser/search/
Dsearch_unittest.cc779 GURL result(template_url_->url_ref().ReplaceSearchTerms( in TEST_F()
791 GURL result(template_url_->url_ref().ReplaceSearchTerms( in TEST_F()
/external/chromium_org/chrome/browser/rlz/
Drlz.cc240 url_template && url_template->url_ref().HasGoogleBaseURLs( in InitRlzFromProfileDelayed()
/external/chromium_org/chrome/browser/web_applications/
Dweb_app_mac.mm935 CFURLRef url_ref = NULL;
937 kLSUnknownCreator, bundle_id_cf.get(), NULL, NULL, &url_ref);
941 base::ScopedCFTypeRef<CFURLRef> url(url_ref);

12