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

Unified Diff: content/child/web_url_loader_impl.cc

Issue 527713002: [ServiceWorker] Introduce skip_service_worker flag and remove LOAD_BYPASS_CACHE check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/web_url_loader_impl.cc
diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc
index ba560b65593dff68bbdce1f7e24b8028acd8cb12..3f1c2dfd8021a8430d80bb1f79e08d99c0da32b6 100644
--- a/content/child/web_url_loader_impl.cc
+++ b/content/child/web_url_loader_impl.cc
@@ -351,6 +351,8 @@ void WebURLLoaderImpl::Context::Start(const WebURLRequest& request,
default:
NOTREACHED();
}
+ if (request.skipServiceWorker())
+ load_flags |= net::LOAD_SKIP_SERVICE_WORKER;
if (request.reportUploadProgress())
load_flags |= net::LOAD_ENABLE_UPLOAD_PROGRESS;

Powered by Google App Engine
This is Rietveld 408576698