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); |