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

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

Issue 8342049: Added Protector, hooked up DSE verification with error bubble. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed comment Created 9 years, 2 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 fb98de6743c6bdd36913a2869701cc5c22b637c6..5440af2b181f91f5a7cc3c6942e3f639f1b0994c 100644
--- a/chrome/browser/search_engines/template_url_service.h
+++ b/chrome/browser/search_engines/template_url_service.h
@@ -193,6 +193,12 @@ class TemplateURLService : public WebDataServiceConsumer,
// invoking this method in that situation.
void SetDefaultSearchProvider(const TemplateURL* url);
+ // Forces saving the default search provider in the database so that the
+ // backup and its signature are persisted in the db. |url| may be null.
+ // This will assert if the default search is managed; the UI should not be
+ // invoking this method in that situation.
+ void ForceSetDefaultSearchProvider(const TemplateURL* url);
+
// Returns the default search provider. If the TemplateURLService hasn't been
// loaded, the default search provider is pulled from preferences.
//

Powered by Google App Engine
This is Rietveld 408576698