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

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

Issue 366523002: Stop depending on chrome/browser/rlz/rlz.h from TemplateURLService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comment 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/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 663ebfc151271b1c2c976b67b1b8392ad0f52278..30b42b04c04606649b150187a397aa27f14b19de 100644
--- a/chrome/browser/search_engines/template_url_service.h
+++ b/chrome/browser/search_engines/template_url_service.h
@@ -90,7 +90,8 @@ class TemplateURLService : public WebDataServiceConsumer,
};
TemplateURLService(Profile* profile,
- rappor::RapporService* rappor_service);
+ rappor::RapporService* rappor_service,
+ const base::Closure& dsp_change_callback);
// The following is for testing.
TemplateURLService(const Initializer* initializers, const int count);
virtual ~TemplateURLService();
@@ -681,6 +682,9 @@ class TemplateURLService : public WebDataServiceConsumer,
scoped_ptr<SearchTermsData> search_terms_data_;
+ // This closure is run when the default search provider is set to Google.
+ base::Closure dsp_change_callback_;
+
// Whether the keywords have been loaded.
bool loaded_;
« no previous file with comments | « chrome/browser/profile_resetter/profile_resetter_unittest.cc ('k') | chrome/browser/search_engines/template_url_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698