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

Unified Diff: chrome/browser/search_engines/template_url_service.h

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/template_url_service.h
diff --git a/chrome/browser/search_engines/template_url_service.h b/chrome/browser/search_engines/template_url_service.h
index 602c4656c82246a2ab5acf94cc2f416efa23ceca..2da10e54ff34cd513342d127e2339d8d9abed13c 100644
--- a/chrome/browser/search_engines/template_url_service.h
+++ b/chrome/browser/search_engines/template_url_service.h
@@ -91,12 +91,13 @@ class TemplateURLService : public WebDataServiceConsumer,
// Returns the search url for t_url. Returns an empty GURL if t_url has no
// url().
- static GURL GenerateSearchURL(const TemplateURL* t_url);
+ static GURL GenerateSearchURL(Profile* profile, const TemplateURL* t_url);
// Just like GenerateSearchURL except that it takes SearchTermsData to supply
// the data for some search terms. Most of the time GenerateSearchURL should
// be called.
static GURL GenerateSearchURLUsingTermsData(
+ Profile* profile,
sky 2011/08/08 23:37:23 This method shouldn't take a profile, it's intende
sreeram 2011/08/09 16:24:01 I only supply NULL where the caller strips away th
const TemplateURL* t_url,
const SearchTermsData& search_terms_data);

Powered by Google App Engine
This is Rietveld 408576698