Chromium Code Reviews| 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 dce4d823cbc2d44bfb563561d945844504b3f417..b511f8d232b925bfc580e4cca6547808bea41897 100644 |
| --- a/content/browser/renderer_host/render_process_host_impl.cc |
| +++ b/content/browser/renderer_host/render_process_host_impl.cc |
| @@ -55,6 +55,7 @@ |
| #include "components/tracing/common/tracing_switches.h" |
| #include "content/browser/appcache/appcache_dispatcher_host.h" |
| #include "content/browser/appcache/chrome_appcache_service.h" |
| +#include "content/browser/background_fetch/background_fetch_service_impl.h" |
| #include "content/browser/background_sync/background_sync_service_impl.h" |
| #include "content/browser/bad_message.h" |
| #include "content/browser/blob_storage/blob_dispatcher_host.h" |
| @@ -1317,6 +1318,11 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() { |
| base::Bind(&PushMessagingManager::BindRequest, |
| base::Unretained(push_messaging_manager_.get()))); |
| + registry->AddInterface(base::Bind( |
| + &BackgroundFetchServiceImpl::Create, |
| + base::Unretained(storage_partition_impl_->GetBackgroundFetchContext()), |
|
dcheng
2017/03/16 07:14:07
Which will probably require binding these as scope
Peter Beverloo
2017/03/16 15:32:55
Done.
|
| + base::Unretained(storage_partition_impl_->GetServiceWorkerContext()))); |
| + |
| registry->AddInterface(base::Bind(&RenderProcessHostImpl::CreateMusGpuRequest, |
| base::Unretained(this))); |