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

Unified Diff: chrome/browser/extensions/api/preference/preference_api.h

Issue 217053003: Remove PreferenceAPI dependency from ExtensionPrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: woops Created 6 years, 9 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 | « no previous file | chrome/browser/extensions/api/preference/preference_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/preference/preference_api.h
diff --git a/chrome/browser/extensions/api/preference/preference_api.h b/chrome/browser/extensions/api/preference/preference_api.h
index 36f320dc12cec5d73b5017002f6cf0e91b28a6ed..bbb35e45f9db6975332c12ba0ba10921c5c54d2e 100644
--- a/chrome/browser/extensions/api/preference/preference_api.h
+++ b/chrome/browser/extensions/api/preference/preference_api.h
@@ -108,19 +108,6 @@ class PreferenceAPI : public PreferenceAPIBase,
// EventRouter::Observer implementation.
virtual void OnListenerAdded(const EventListenerInfo& details) OVERRIDE;
- // Loads the preferences controlled by the specified extension from their
- // dictionary and sets them in the |value_map|.
- static void LoadExtensionControlledPrefs(ExtensionPrefs* prefs,
- ExtensionPrefValueMap* value_map,
- const std::string& extension_id,
- ExtensionPrefsScope scope);
-
- // Store extension controlled preference values in the |value_map|,
- // which then informs the subscribers (ExtensionPrefStores) about the winning
- // values.
- static void InitExtensionControlledPrefs(ExtensionPrefs* prefs,
- ExtensionPrefValueMap* value_map);
-
private:
friend class BrowserContextKeyedAPIFactory<PreferenceAPI>;
« no previous file with comments | « no previous file | chrome/browser/extensions/api/preference/preference_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698