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 19ce4fab5548fd332f92a5984a01a2c86cbd9d14..029c30061822f3331a7549657d2c93af4be38150 100644 |
--- a/extensions/shell/browser/shell_extension_system.cc |
+++ b/extensions/shell/browser/shell_extension_system.cc |
@@ -14,7 +14,6 @@ |
#include "content/public/browser/notification_details.h" |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_source.h" |
-#include "extensions/browser/api/app_runtime/app_runtime_api.h" |
#include "extensions/browser/extension_prefs.h" |
#include "extensions/browser/extension_registry.h" |
#include "extensions/browser/info_map.h" |
@@ -25,8 +24,6 @@ |
#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" |
using content::BrowserContext; |
@@ -94,18 +91,6 @@ void ShellExtensionSystem::Init() { |
content::NotificationService::NoDetails()); |
} |
-void ShellExtensionSystem::LaunchApp(const ExtensionId& extension_id) { |
- // Send the onLaunched event. |
- DCHECK(ExtensionRegistry::Get(browser_context_) |
- ->enabled_extensions() |
- .Contains(extension_id)); |
- const Extension* extension = ExtensionRegistry::Get(browser_context_) |
- ->enabled_extensions() |
- .GetByID(extension_id); |
- AppRuntimeEventRouter::DispatchOnLaunchedEvent(browser_context_, extension, |
- SOURCE_UNTRACKED, nullptr); |
-} |
- |
void ShellExtensionSystem::Shutdown() { |
} |