| Index: extensions/shell/browser/shell_extension_system.cc
|
| diff --git a/extensions/shell/browser/shell_extension_system.cc b/extensions/shell/browser/shell_extension_system.cc
|
| index 5c14401882976b73af85f39741adfc9c1c6c7b8d..580774873b8d1ea825ea1497465e4ead11e802bb 100644
|
| --- a/extensions/shell/browser/shell_extension_system.cc
|
| +++ b/extensions/shell/browser/shell_extension_system.cc
|
| @@ -24,6 +24,7 @@
|
| #include "extensions/browser/runtime_data.h"
|
| #include "extensions/browser/service_worker_manager.h"
|
| #include "extensions/browser/value_store/value_store_factory_impl.h"
|
| +#include "extensions/common/api/app_runtime.h"
|
| #include "extensions/common/constants.h"
|
| #include "extensions/common/file_util.h"
|
|
|
| @@ -71,7 +72,7 @@ const Extension* ShellExtensionSystem::LoadApp(const base::FilePath& app_dir) {
|
| weak_factory_.GetWeakPtr(), extension));
|
|
|
| content::NotificationService::current()->Notify(
|
| - extensions::NOTIFICATION_EXTENSION_LOADED_DEPRECATED,
|
| + NOTIFICATION_EXTENSION_LOADED_DEPRECATED,
|
| content::Source<BrowserContext>(browser_context_),
|
| content::Details<const Extension>(extension.get()));
|
|
|
| @@ -82,7 +83,7 @@ void ShellExtensionSystem::Init() {
|
| // Inform the rest of the extensions system to start.
|
| ready_.Signal();
|
| content::NotificationService::current()->Notify(
|
| - extensions::NOTIFICATION_EXTENSIONS_READY_DEPRECATED,
|
| + NOTIFICATION_EXTENSIONS_READY_DEPRECATED,
|
| content::Source<BrowserContext>(browser_context_),
|
| content::NotificationService::NoDetails());
|
| }
|
| @@ -96,7 +97,8 @@ void ShellExtensionSystem::LaunchApp(const ExtensionId& extension_id) {
|
| ->enabled_extensions()
|
| .GetByID(extension_id);
|
| AppRuntimeEventRouter::DispatchOnLaunchedEvent(
|
| - browser_context_, extension, extensions::SOURCE_UNTRACKED);
|
| + browser_context_, extension, SOURCE_UNTRACKED,
|
| + std::unique_ptr<api::app_runtime::ActionData>());
|
| }
|
|
|
| void ShellExtensionSystem::Shutdown() {
|
|
|