| Index: apps/shell/browser/shell_extension_system.cc
|
| diff --git a/apps/shell/browser/shell_extension_system.cc b/apps/shell/browser/shell_extension_system.cc
|
| index 6defb0edaff34d5677fd624150405aa3bc73248d..0d948a0fa178cc1c5820496a0f3246e6879c90c7 100644
|
| --- a/apps/shell/browser/shell_extension_system.cc
|
| +++ b/apps/shell/browser/shell_extension_system.cc
|
| @@ -62,6 +62,9 @@ bool ShellExtensionSystem::LoadAndLaunchApp(const base::FilePath& app_dir) {
|
|
|
| RegisterExtensionWithRequestContexts(extension);
|
|
|
| + if (BackgroundInfo::HasServiceWorker(extension))
|
| + ServiceWorkerManager::Get(browser_context_)->RegisterExtension(extension);
|
| +
|
| content::NotificationService::current()->Notify(
|
| chrome::NOTIFICATION_EXTENSION_LOADED,
|
| content::Source<BrowserContext>(browser_context_),
|
|
|