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

Unified Diff: components/search_engines/default_search_manager.h

Issue 2479113002: Make extensions DSE persistent in browser prefs (Closed)
Patch Set: Fixed default extension keywords conflicts problem 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
« no previous file with comments | « components/search_engines/BUILD.gn ('k') | components/search_engines/default_search_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search_engines/default_search_manager.h
diff --git a/components/search_engines/default_search_manager.h b/components/search_engines/default_search_manager.h
index aadc6a4648952a740881931ea7ac2c7fed629882..f5e85fdb53b3f30cbdee813dc39285e707b4e973 100644
--- a/components/search_engines/default_search_manager.h
+++ b/components/search_engines/default_search_manager.h
@@ -62,6 +62,8 @@ class DefaultSearchManager {
static const char kCreatedByPolicy[];
static const char kDisabledByPolicy[];
+ static const char kExtensionID[];
+
enum Source {
FROM_FALLBACK = 0,
FROM_USER,
@@ -99,14 +101,6 @@ class DefaultSearchManager {
// Write default search provider data to |pref_service_|.
void SetUserSelectedDefaultSearchEngine(const TemplateURLData& data);
- // Override the default search provider with an extension.
- void SetExtensionControlledDefaultSearchEngine(const TemplateURLData& data);
-
- // Clear the extension-provided default search engine. Does not explicitly
- // disable Default Search. The new current default search engine will be
- // defined by policy, extensions, or pre-populated data.
- void ClearExtensionControlledDefaultSearchEngine();
-
// Clear the user's default search provider choice from |pref_service_|. Does
// not explicitly disable Default Search. The new default search
// engine will be defined by policy, extensions, or pre-populated data.
« no previous file with comments | « components/search_engines/BUILD.gn ('k') | components/search_engines/default_search_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698