| Index: extensions/browser/extensions_browser_client.h
|
| diff --git a/extensions/browser/extensions_browser_client.h b/extensions/browser/extensions_browser_client.h
|
| index 2e3d26d8aede6914eb6d4679336179ee51ca8bcf..446585fc93afe2a5d5ba63d39c3ab4ec2418aef4 100644
|
| --- a/extensions/browser/extensions_browser_client.h
|
| +++ b/extensions/browser/extensions_browser_client.h
|
| @@ -9,6 +9,7 @@
|
| #include <vector>
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "extensions/browser/extension_prefs_observer.h"
|
|
|
| class ExtensionFunctionRegistry;
|
| class PrefService;
|
| @@ -28,6 +29,7 @@ class ApiActivityMonitor;
|
| class AppSorting;
|
| class Extension;
|
| class ExtensionHostDelegate;
|
| +class ExtensionPrefsObserver;
|
| class ExtensionSystem;
|
| class ExtensionSystemProvider;
|
|
|
| @@ -90,6 +92,13 @@ class ExtensionsBrowserClient {
|
| virtual PrefService* GetPrefServiceForContext(
|
| content::BrowserContext* context) = 0;
|
|
|
| + // Populates a list of ExtensionPrefs observers to be attached to each
|
| + // BrowserContext's ExtensionPrefs upon construction. These observers
|
| + // are not owned by ExtensionPrefs.
|
| + virtual void GetAdditionalExtensionPrefsObservers(
|
| + content::BrowserContext* context,
|
| + std::vector<ExtensionPrefsObserver*>* observers) const = 0;
|
| +
|
| // Returns true if loading background pages should be deferred.
|
| virtual bool DeferLoadingBackgroundHosts(
|
| content::BrowserContext* context) const = 0;
|
|
|