Index: chrome/browser/extensions/chrome_notification_observer.cc |
diff --git a/chrome/browser/extensions/chrome_notification_observer.cc b/chrome/browser/extensions/chrome_notification_observer.cc |
index 5b53a0ef00bedb804f4fcdb710d79d98008463b6..9b68ea313bc93311738433a057b98de936a85d76 100644 |
--- a/chrome/browser/extensions/chrome_notification_observer.cc |
+++ b/chrome/browser/extensions/chrome_notification_observer.cc |
@@ -9,6 +9,7 @@ |
#include "content/public/browser/notification_types.h" |
#include "content/public/browser/render_process_host.h" |
#include "extensions/common/extension_messages.h" |
+#include "extensions/common/features/feature_util.h" |
namespace extensions { |
@@ -26,6 +27,9 @@ void ChromeNotificationObserver::OnRendererProcessCreated( |
// to all renderers, as the non-extension renderers may have content scripts. |
process->Send( |
new ExtensionMsg_SetChannel(static_cast<int>(GetCurrentChannel()))); |
+ process->Send( |
+ new ExtensionMsg_SetExtensionAPIEnabledInExtensionServiceWorkers( |
+ feature_util::ExtensionAPIEnabledInExtensionServiceWorkers())); |
} |
void ChromeNotificationObserver::Observe(int type, |