| Index: extensions/browser/extensions_browser_client.h
|
| diff --git a/extensions/browser/extensions_browser_client.h b/extensions/browser/extensions_browser_client.h
|
| index e3b91b27756dd08661d9af06cbc1cf4cd9fc68f1..9356aa6a27a012d0f7d96b94a099be27c66932dd 100644
|
| --- a/extensions/browser/extensions_browser_client.h
|
| +++ b/extensions/browser/extensions_browser_client.h
|
| @@ -40,6 +40,7 @@ class ExtensionPrefsObserver;
|
| class ExtensionSystem;
|
| class ExtensionSystemProvider;
|
| class InfoMap;
|
| +class RuntimeAPIDelegate;
|
|
|
| // Interface to allow the extensions module to make browser-process-specific
|
| // queries of the embedder. Should be Set() once in the browser process.
|
| @@ -166,6 +167,12 @@ class ExtensionsBrowserClient {
|
| virtual void RegisterExtensionFunctions(
|
| ExtensionFunctionRegistry* registry) const = 0;
|
|
|
| + // Creates a RuntimeAPIDelegate responsible for handling extensions
|
| + // management-related events such as update and installation on behalf of the
|
| + // core runtime API implementation.
|
| + virtual scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate(
|
| + content::BrowserContext* context) const = 0;
|
| +
|
| // Returns the single instance of |this|.
|
| static ExtensionsBrowserClient* Get();
|
|
|
|
|