Home
last modified time | relevance | path

Searched refs:search_url (Results 1 – 11 of 11) sorted by relevance

/external/chromium/chrome/browser/search_engines/
Dtemplate_url_model.cc387 const std::string& search_url) { in ResetTemplateURL() argument
391 if ((new_url.url() && search_url.empty()) || in ResetTemplateURL()
392 (!new_url.url() && !search_url.empty()) || in ResetTemplateURL()
393 (new_url.url() && new_url.url()->url() != search_url)) { in ResetTemplateURL()
396 new_url.SetURL(search_url, 0, 0); in ResetTemplateURL()
769 std::string search_url; in SaveDefaultSearchProviderToPrefs() local
781 search_url = t_url->url()->url(); in SaveDefaultSearchProviderToPrefs()
796 prefs->SetString(prefs::kDefaultSearchProviderSearchURL, search_url); in SaveDefaultSearchProviderToPrefs()
824 std::string search_url = in LoadDefaultSearchProviderFromPrefs() local
829 if (!enabled || (suggest_url.empty() && search_url.empty())) { in LoadDefaultSearchProviderFromPrefs()
[all …]
Dtemplate_url_prepopulate_data.cc50 const wchar_t* const search_url; member
3366 const wchar_t* search_url, in MakePrepopulatedTemplateURL() argument
3375 new_turl->SetURL(WideToUTF8(search_url), 0, 0); in MakePrepopulatedTemplateURL()
3411 std::string search_url; in GetPrepopulatedTemplateFromPrefs() local
3427 engine->Get("search_url", &val) && val->GetAsString(&search_url) && in GetPrepopulatedTemplateFromPrefs()
3437 if (search_url.empty() || favicon_url.empty() || encoding.empty()) in GetPrepopulatedTemplateFromPrefs()
3448 UTF8ToWide(search_url).c_str(), in GetPrepopulatedTemplateFromPrefs()
3464 engine.search_url, in MakePrepopulateTemplateURLFromPrepopulateEngine()
3556 GURL engine_origin(GetOriginForSearchURL(kAllEngines[i]->search_url)); in GetEngineForOrigin()
3566 std::string url_utf8_string(ToUTF8(kAllEngines[i]->search_url)); in GetSearchEngineLogo()
Dtemplate_url_model.h172 const std::string& search_url);
Dtemplate_url_model_unittest.cc191 const char* search_url, in SetManagedDefaultSearchPreferences() argument
205 Value::CreateStringValue(search_url)); in SetManagedDefaultSearchPreferences()
/external/chromium/chrome/browser/
Domnibox_search_hint.cc187 const TemplateURLRef* const search_url = default_provider->url(); in Observe() local
188 if (search_url->GetHost() == entry->url().host()) in Observe()
/external/chromium/chrome/browser/google/
Dgoogle_url_tracker_unittest.cc121 void SearchCommitted(const GURL& search_url);
236 void GoogleURLTrackerTest::SearchCommitted(const GURL& search_url) { in SearchCommitted() argument
243 google_url_tracker->search_url_ = search_url; in SearchCommitted()
/external/chromium/chrome/browser/policy/
Dconfiguration_policy_pref_store_unittest.cc494 const char* const search_url = "http://test.com/search?t={searchTerms}"; in TEST_F() local
499 Value::CreateStringValue(search_url)); in TEST_F()
507 EXPECT_TRUE(StringValue(search_url).Equals(value)); in TEST_F()
537 const char* const search_url = "http://test.com/search?t={searchTerms}"; in TEST_F() local
547 Value::CreateStringValue(search_url)); in TEST_F()
565 EXPECT_TRUE(StringValue(search_url).Equals(value)); in TEST_F()
Dconfiguration_policy_pref_store.cc483 std::string search_url; in FinalizeDefaultSearchPolicySettings() local
485 if (prefs_.GetString(prefs::kDefaultSearchProviderSearchURL, &search_url) && in FinalizeDefaultSearchPolicySettings()
486 !search_url.empty()) { in FinalizeDefaultSearchPolicySettings()
488 const TemplateURLRef search_url_ref(search_url, 0, 0); in FinalizeDefaultSearchPolicySettings()
504 GURL(search_url).host()); in FinalizeDefaultSearchPolicySettings()
/external/chromium/chrome/browser/history/
Dvisit_database.cc448 GURL search_url(url); in GetVisitCountToHost() local
449 const std::string host_query_min = search_url.GetOrigin().spec(); in GetVisitCountToHost()
/external/chromium/chrome/browser/autocomplete/
Dsearch_provider.cc822 const TemplateURLRef* const search_url = provider.url(); in AddMatchToMap() local
823 DCHECK(search_url->SupportsReplacement()); in AddMatchToMap()
825 GURL(search_url->ReplaceSearchTerms(provider, in AddMatchToMap()
/external/chromium/chrome/browser/ui/
Dbrowser_init.cc1256 const TemplateURLRef* search_url = default_provider->url(); in GetURLsFromCommandLine() local
1257 DCHECK(search_url->SupportsReplacement()); in GetURLsFromCommandLine()
1259 urls.push_back(GURL(search_url->ReplaceSearchTerms( in GetURLsFromCommandLine()