Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2398)

Unified Diff: chrome/browser/search_engines/search_host_to_urls_map.cc

Issue 338363004: Remove Profile* from TemplateURL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/search_engines/search_host_to_urls_map.cc
diff --git a/chrome/browser/search_engines/search_host_to_urls_map.cc b/chrome/browser/search_engines/search_host_to_urls_map.cc
index 092eac7f40adeb61f1269a43bd2934bf39d4f389..276573cb4801e1241522ff63e3e7236704fcf686 100644
--- a/chrome/browser/search_engines/search_host_to_urls_map.cc
+++ b/chrome/browser/search_engines/search_host_to_urls_map.cc
@@ -28,7 +28,7 @@ void SearchHostToURLsMap::Add(TemplateURL* template_url,
DCHECK(initialized_);
DCHECK(template_url);
- const GURL url(TemplateURLService::GenerateSearchURLUsingTermsData(
+ const GURL url(TemplateURLService::GenerateSearchURL(
template_url, search_terms_data));
if (!url.is_valid() || !url.has_host())
return;
@@ -41,7 +41,7 @@ void SearchHostToURLsMap::Remove(TemplateURL* template_url,
DCHECK(initialized_);
DCHECK(template_url);
- const GURL url(TemplateURLService::GenerateSearchURLUsingTermsData(
+ const GURL url(TemplateURLService::GenerateSearchURL(
template_url, search_terms_data));
if (!url.is_valid() || !url.has_host())
return;

Powered by Google App Engine
This is Rietveld 408576698