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

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

Issue 10173001: Add a Profile* member to TemplateURL. This makes some invocations of ReplaceSearchTerms() a bit le… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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/util.h
===================================================================
--- chrome/browser/search_engines/util.h (revision 132905)
+++ chrome/browser/search_engines/util.h (working copy)
@@ -12,7 +12,6 @@
#include "base/memory/scoped_ptr.h"
#include "base/string16.h"
-class PrefService;
class Profile;
class TemplateURL;
class WDTypedResult;
@@ -36,7 +35,7 @@
void GetSearchProvidersUsingKeywordResult(
const WDTypedResult& result,
WebDataService* service,
- PrefService* prefs,
+ Profile* profile,
std::vector<TemplateURL*>* template_urls,
const TemplateURL** default_search_provider,
int* new_resource_keyword_version);
@@ -47,6 +46,7 @@
// lost.
bool DidDefaultSearchProviderChange(
const WDTypedResult& result,
+ Profile* profile,
scoped_ptr<TemplateURL>* backup_default_search_provider);
#endif // CHROME_BROWSER_SEARCH_ENGINES_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698