| Index: chrome/browser/extensions/extension_system.h
|
| diff --git a/chrome/browser/extensions/extension_system.h b/chrome/browser/extensions/extension_system.h
|
| index 50952a10db7e8e1958b91770f21b38c88ae8af52..8a400705c20948a8ebed291af727510f9fa610a5 100644
|
| --- a/chrome/browser/extensions/extension_system.h
|
| +++ b/chrome/browser/extensions/extension_system.h
|
| @@ -52,8 +52,12 @@ class ExtensionSystem : public BrowserContextKeyedService {
|
|
|
| // Initializes extensions machinery.
|
| // Component extensions are always enabled, external and user extensions
|
| - // are controlled by |extensions_enabled|.
|
| - virtual void InitForRegularProfile(bool extensions_enabled) = 0;
|
| + // are controlled by |extensions_enabled|. If |defer_background_creation| is
|
| + // true, then creation of background extension RenderViews will be deferred
|
| + // until ExtensionProcessManager::DeferBackgroundHostCreation is called with
|
| + // |defer| set to false.
|
| + virtual void InitForRegularProfile(bool extensions_enabled,
|
| + bool defer_background_creation) = 0;
|
|
|
| // The ExtensionService is created at startup.
|
| virtual ExtensionService* extension_service() = 0;
|
| @@ -125,7 +129,8 @@ class ExtensionSystemImpl : public ExtensionSystem {
|
| // BrowserContextKeyedService implementation.
|
| virtual void Shutdown() OVERRIDE;
|
|
|
| - virtual void InitForRegularProfile(bool extensions_enabled) OVERRIDE;
|
| + virtual void InitForRegularProfile(bool extensions_enabled,
|
| + bool defer_background_creation) OVERRIDE;
|
|
|
| virtual ExtensionService* extension_service() OVERRIDE; // shared
|
| virtual ManagementPolicy* management_policy() OVERRIDE; // shared
|
|
|