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

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

Issue 1344783002: ServiceWorker: Carve out methods of ServiceWorkerProviderContext to delegate classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add class comments more Created 5 years, 2 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 a21c08f87fb70dec994c1583609cb0da1da7c04c..1dcf75e6d3e563ad7e00c0eb60745d742567c3d0 100644
--- a/content/child/service_worker/service_worker_network_provider.cc
+++ b/content/child/service_worker/service_worker_network_provider.cc
@@ -50,7 +50,7 @@ ServiceWorkerNetworkProvider::ServiceWorkerNetworkProvider(
: provider_id_(GenerateProviderIdForType(provider_type)) {
if (provider_id_ == kInvalidServiceWorkerProviderId)
return;
- context_ = new ServiceWorkerProviderContext(provider_id_);
+ context_ = new ServiceWorkerProviderContext(provider_id_, provider_type);
if (!ChildThreadImpl::current())
return; // May be null in some tests.
ChildThreadImpl::current()->Send(new ServiceWorkerHostMsg_ProviderCreated(

Powered by Google App Engine
This is Rietveld 408576698