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

Unified Diff: components/search_engines/template_url_service.h

Issue 2623833005: Revert of Make extensions DSE persistent in browser prefs (Closed)
Patch Set: Created 3 years, 11 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: components/search_engines/template_url_service.h
diff --git a/components/search_engines/template_url_service.h b/components/search_engines/template_url_service.h
index d7e4e87f86da093b1584bb35e6e9d387e07fad97..d56bb8d90d070e04e7e3048ec19281438df0b6f1 100644
--- a/components/search_engines/template_url_service.h
+++ b/components/search_engines/template_url_service.h
@@ -708,6 +708,13 @@
TemplateURL* FindMatchingExtensionTemplateURL(const TemplateURLData& data,
TemplateURL::Type type);
+ // Finds the most recently-installed NORMAL_CONTROLLED_BY_EXTENSION engine
+ // that supports replacement and wants to be default, if any. Notifies the
+ // DefaultSearchManager, which might change the effective default search
+ // engine.
+ void UpdateExtensionDefaultSearchEngine();
+
+
// ---------- Browser state related members ---------------------------------
PrefService* prefs_;
« no previous file with comments | « components/search_engines/template_url_prepopulate_data.cc ('k') | components/search_engines/template_url_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698