Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 2fc1b165e66f19102e73f88d982b7ddd9c21485d..4f77e06029a454e47c88120b664508e6d5ccd8dc 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -46,6 +46,7 @@ |
#include "cc/base/switches.h" |
#include "components/scheduler/common/scheduler_switches.h" |
#include "components/tracing/common/tracing_switches.h" |
+#include "components/webmessaging/broadcast_channel_service.h" |
#include "content/browser/appcache/appcache_dispatcher_host.h" |
#include "content/browser/appcache/chrome_appcache_service.h" |
#include "content/browser/background_sync/background_sync_service_impl.h" |
@@ -1053,6 +1054,10 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() { |
base::Bind(&RenderProcessHostImpl::CreateStoragePartitionService, |
base::Unretained(this))); |
+ mojo_application_host_->service_registry()->AddService(base::Bind( |
+ &webmessaging::BroadcastChannelService::Connect, |
+ base::Unretained(storage_partition_impl_->GetBroadcastChannelService()))); |
+ |
mojo_application_host_->service_registry()->AddService( |
base::Bind(&MimeRegistryImpl::Create), |
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE)); |