| 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 c1f6ea58086569202275a28355b6d9c0927365a4..88f784630cd80ef4a66442ee727df83ee607d113 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -45,6 +45,7 @@
|
| #include "cc/base/switches.h"
|
| #include "components/scheduler/common/scheduler_switches.h"
|
| #include "components/tracing/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"
|
| @@ -1037,6 +1038,10 @@ void RenderProcessHostImpl::RegisterMojoServices() {
|
| base::Bind(&RenderProcessHostImpl::CreateStoragePartitionService,
|
| base::Unretained(this)));
|
|
|
| + mojo_application_host_->service_registry()->AddService(base::Bind(
|
| + &webmessaging::BroadcastChannelService::ConnectProcess,
|
| + base::Unretained(storage_partition_impl_->GetBroadcastChannelService())));
|
| +
|
| #if defined(OS_ANDROID)
|
| ServiceRegistrarAndroid::RegisterProcessHostServices(
|
| mojo_application_host_->service_registry_android());
|
|
|