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

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

Issue 2940563002: Fix SW tests with servicification (Closed)
Patch Set: Created 3 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
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5521e4423465f67ca5160da204af02efa86d94af..73cf9d5c0aed356d4ec07226673a32d48f6ecd82 100644
--- a/content/child/service_worker/service_worker_network_provider.cc
+++ b/content/child/service_worker/service_worker_network_provider.cc
@@ -78,6 +78,11 @@ class WebServiceWorkerNetworkProviderForFrame
}
bool IsControlledByServiceWorker() override {
+ if (ServiceWorkerUtils::IsServicificationEnabled()) {
+ // Interception for subresource loading is not working (yet)
+ // when servicification is enabled.
+ return false;
+ }
return provider_->IsControlledByServiceWorker();
}
« no previous file with comments | « no previous file | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698