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 3dc8816b2f3eb3a5de6d7c669d4f064f26d2a028..a90ceb49a6211f221da01323a9307e387b1e4fd3 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_provider.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" |
@@ -1064,6 +1065,11 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() { |
base::Unretained(this))); |
GetInterfaceRegistry()->AddInterface( |
+ base::Bind(&webmessaging::BroadcastChannelProvider::Connect, |
+ base::Unretained( |
+ storage_partition_impl_->GetBroadcastChannelProvider()))); |
+ |
+ GetInterfaceRegistry()->AddInterface( |
base::Bind(&MimeRegistryImpl::Create), |
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE)); |