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

Unified Diff: content/browser/loader/resource_dispatcher_host_impl.cc

Issue 553333005: Bypass ServiceWorkers for synchronous resource loads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/resource_dispatcher_host_impl.cc
diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc
index 7b09885c9f353f06f9c4158acf0ada39e32c0240..fc40f4fa8b8c0247105f1976b2a440ae3a25e720 100644
--- a/content/browser/loader/resource_dispatcher_host_impl.cc
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc
@@ -1145,7 +1145,7 @@ void ResourceDispatcherHostImpl::BeginRequest(
blob_context,
child_id,
request_data.service_worker_provider_id,
- request_data.skip_service_worker,
+ request_data.skip_service_worker || is_sync_load,
mmenke 2014/09/29 19:15:56 nit: Think it's worth a short comment about this.
michaeln 2014/09/29 19:34:00 Done.
request_data.resource_type,
request_data.request_body);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698