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

Unified Diff: chrome/browser/extensions/extension_prefs.h

Issue 9620010: Added Protector backup for Preferences. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review comments, removed blacklist from extension ID list, added unittest. Created 8 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/extension_prefs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_prefs.h
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h
index 19b79386ce578b17f9d30a1719ae1b9706e01308..7410da3a2824b8e1b2f346393322c2f9596ee763 100644
--- a/chrome/browser/extensions/extension_prefs.h
+++ b/chrome/browser/extensions/extension_prefs.h
@@ -121,6 +121,12 @@ class ExtensionPrefs : public ExtensionContentSettingsStore::Observer,
// Returns all installed extensions
void GetExtensions(ExtensionIdSet* out);
+ // Returns all installed extensions from |extension_prefs|. This is exposed
+ // for ProtectedPrefsWatcher because it needs access to the extension ID list
+ // before the ExtensionService is initialized.
+ static void GetExtensionsFrom(const base::DictionaryValue* extension_prefs,
Aaron Boodman 2012/03/13 19:45:15 Just return ExtensionIdSet. Most compilers will op
Ivan Korotkov 2012/03/14 13:06:45 Done. Is it ok that there is inconsistency between
+ ExtensionIdSet* out);
+
// Getter and setter for browser action visibility.
bool GetBrowserActionVisibility(const Extension* extension);
void SetBrowserActionVisibility(const Extension* extension, bool visible);
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698