Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(477)

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2774343002: Hook up BackgroundFetchServiceImpl::Fetch() to start a fetch (Closed)
Patch Set: rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 13aa37907a11ac287abe821c3ae26663dc65206e..1a2b3ee5e0605261558150c92b9658a41ad716e4 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1295,10 +1295,10 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() {
base::Bind(&PushMessagingManager::BindRequest,
base::Unretained(push_messaging_manager_.get())));
- registry->AddInterface(base::Bind(
- &BackgroundFetchServiceImpl::Create,
- make_scoped_refptr(storage_partition_impl_->GetBackgroundFetchContext()),
- make_scoped_refptr(storage_partition_impl_->GetServiceWorkerContext())));
+ registry->AddInterface(
+ base::Bind(&BackgroundFetchServiceImpl::Create, GetID(),
+ make_scoped_refptr(
+ storage_partition_impl_->GetBackgroundFetchContext())));
registry->AddInterface(base::Bind(&RenderProcessHostImpl::CreateMusGpuRequest,
base::Unretained(this)));
« no previous file with comments | « content/browser/bad_message.h ('k') | third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698