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

Unified Diff: content/child/request_extra_data.h

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: Introduce skip_service_worker flag 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
Index: content/child/request_extra_data.h
diff --git a/content/child/request_extra_data.h b/content/child/request_extra_data.h
index bae5512c173c75922789db3a697c2921028e0355..81e15dae605dcce82654200e81ee36268e463930 100644
--- a/content/child/request_extra_data.h
+++ b/content/child/request_extra_data.h
@@ -85,6 +85,10 @@ class CONTENT_EXPORT RequestExtraData
int service_worker_provider_id) {
service_worker_provider_id_ = service_worker_provider_id;
}
+ bool skip_service_worker() const { return skip_service_worker_; }
+ void set_skip_service_worker(bool skip_service_worker) {
+ skip_service_worker_ = skip_service_worker;
+ }
// |custom_user_agent| is used to communicate an overriding custom user agent
// to |RenderViewImpl::willSendRequest()|; set to a null string to indicate no
// override and an empty string to indicate that there should be no user
@@ -115,6 +119,7 @@ class CONTENT_EXPORT RequestExtraData
int transferred_request_child_id_;
int transferred_request_request_id_;
int service_worker_provider_id_;
+ bool skip_service_worker_;
blink::WebString custom_user_agent_;
blink::WebString requested_with_;
« no previous file with comments | « content/browser/service_worker/service_worker_request_handler.cc ('k') | content/child/request_extra_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698