| Index: extensions/browser/api/runtime/runtime_api.h
|
| diff --git a/extensions/browser/api/runtime/runtime_api.h b/extensions/browser/api/runtime/runtime_api.h
|
| index 44a8c2f78b1e07e6bd59e872a2b0622a28cecfb0..e330521985518133218c86bdf3f05577f0db1f2a 100644
|
| --- a/extensions/browser/api/runtime/runtime_api.h
|
| +++ b/extensions/browser/api/runtime/runtime_api.h
|
| @@ -14,6 +14,7 @@
|
| #include "extensions/browser/browser_context_keyed_api_factory.h"
|
| #include "extensions/browser/extension_function.h"
|
| #include "extensions/browser/extension_registry_observer.h"
|
| +#include "extensions/browser/process_manager.h"
|
| #include "extensions/browser/process_manager_observer.h"
|
| #include "extensions/browser/update_observer.h"
|
| #include "extensions/common/api/runtime.h"
|
| @@ -105,10 +106,15 @@ class RuntimeAPI : public BrowserContextKeyedAPI,
|
| // Listen to extension notifications.
|
| ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver>
|
| extension_registry_observer_;
|
| + ScopedObserver<ProcessManager, ProcessManagerObserver>
|
| + process_manager_observer_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(RuntimeAPI);
|
| };
|
|
|
| +template <>
|
| +void BrowserContextKeyedAPIFactory<RuntimeAPI>::DeclareFactoryDependencies();
|
| +
|
| class RuntimeEventRouter {
|
| public:
|
| // Dispatches the onStartup event to all currently-loaded extensions.
|
|
|