/external/chromium/chrome/browser/search_engines/ |
D | template_url_model.cc | 387 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 …]
|
D | template_url_prepopulate_data.cc | 50 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()
|
D | template_url_model.h | 172 const std::string& search_url);
|
D | template_url_model_unittest.cc | 191 const char* search_url, in SetManagedDefaultSearchPreferences() argument 205 Value::CreateStringValue(search_url)); in SetManagedDefaultSearchPreferences()
|
/external/chromium/chrome/browser/ |
D | omnibox_search_hint.cc | 187 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/ |
D | google_url_tracker_unittest.cc | 121 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/ |
D | configuration_policy_pref_store_unittest.cc | 494 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()
|
D | configuration_policy_pref_store.cc | 483 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/ |
D | visit_database.cc | 448 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/ |
D | search_provider.cc | 822 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/ |
D | browser_init.cc | 1256 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()
|