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

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

Issue 252633003: Introduce worker_devtools_agent_route_id for EmbeddedWorker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit tests failure Created 6 years, 8 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 12b37ceeb2edc0e3c3a03fab49f7704ba37b4492..e4dc2c1952694583aa8c0f39e3d56b13e3747867 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -762,7 +762,8 @@ void RenderProcessHostImpl::CreateMessageFilters() {
scoped_refptr<ServiceWorkerDispatcherHost> service_worker_filter =
new ServiceWorkerDispatcherHost(GetID(), message_port_message_filter_);
service_worker_filter->Init(
- storage_partition_impl_->GetServiceWorkerContext());
+ storage_partition_impl_->GetServiceWorkerContext(),
+ base::Bind(&RenderWidgetHelper::GetNextRoutingID, widget_helper_));
michaeln 2014/04/25 19:29:50 ah... this is nice
michaeln 2014/04/25 20:10:34 Here's a thought? Define a new static method and n
AddFilter(service_worker_filter);
// If "--enable-embedded-shared-worker" is set, we use

Powered by Google App Engine
This is Rietveld 408576698