| 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..39c0360986c0bb44495280abafcfd12b16aa39e9 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 ExtensionIdSet GetExtensionsFrom(
|
| + const base::DictionaryValue* extension_prefs);
|
| +
|
| // Getter and setter for browser action visibility.
|
| bool GetBrowserActionVisibility(const Extension* extension);
|
| void SetBrowserActionVisibility(const Extension* extension, bool visible);
|
|
|