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

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

Issue 7558014: Add a URL param to indicate group selection in Instant field trial. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 cb91724a0bb10044d9667a4f5c95fbb5f6644799..cb627aafb5241c52e8c9f0740bff71735a100691 100644
--- a/chrome/browser/search_engines/search_host_to_urls_map.cc
+++ b/chrome/browser/search_engines/search_host_to_urls_map.cc
@@ -34,7 +34,7 @@ void SearchHostToURLsMap::Add(const TemplateURL* template_url,
DCHECK(template_url);
const GURL url(TemplateURLService::GenerateSearchURLUsingTermsData(
- template_url, search_terms_data));
+ NULL, template_url, search_terms_data));
if (!url.is_valid() || !url.has_host())
return;
@@ -45,7 +45,7 @@ void SearchHostToURLsMap::Remove(const TemplateURL* template_url) {
DCHECK(initialized_);
DCHECK(template_url);
- const GURL url(TemplateURLService::GenerateSearchURL(template_url));
+ const GURL url(TemplateURLService::GenerateSearchURL(NULL, template_url));
if (!url.is_valid() || !url.has_host())
return;

Powered by Google App Engine
This is Rietveld 408576698