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

Unified Diff: content/child/service_worker/service_worker_network_provider.cc

Issue 1149383004: [3/5 chromium] Shows the clients which are controlled by ServiceWorker in DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: incorporated dcheng's comment Created 5 years, 6 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/child/service_worker/service_worker_network_provider.cc
diff --git a/content/child/service_worker/service_worker_network_provider.cc b/content/child/service_worker/service_worker_network_provider.cc
index 85c20688a1f29cd63a1e0ca9ca452796da46757f..7a077c9b1d2c6a8fb12ac859fec8ada8d96a7376 100644
--- a/content/child/service_worker/service_worker_network_provider.cc
+++ b/content/child/service_worker/service_worker_network_provider.cc
@@ -36,15 +36,14 @@ ServiceWorkerNetworkProvider* ServiceWorkerNetworkProvider::FromDocumentState(
}
ServiceWorkerNetworkProvider::ServiceWorkerNetworkProvider(
- int render_frame_id,
+ int route_id,
ServiceWorkerProviderType provider_type)
: provider_id_(GetNextProviderId()),
context_(new ServiceWorkerProviderContext(provider_id_)) {
if (!ChildThreadImpl::current())
return; // May be null in some tests.
- ChildThreadImpl::current()->Send(
- new ServiceWorkerHostMsg_ProviderCreated(
- provider_id_, render_frame_id, provider_type));
+ ChildThreadImpl::current()->Send(new ServiceWorkerHostMsg_ProviderCreated(
+ provider_id_, route_id, provider_type));
}
ServiceWorkerNetworkProvider::~ServiceWorkerNetworkProvider() {

Powered by Google App Engine
This is Rietveld 408576698