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

Unified Diff: content/child/request_info.h

Issue 2105503002: Skip foreign fetch when the skipServiceWorker flag is set on a request. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rephrase SkipServiceWorker comments. Created 4 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 | « content/browser/service_worker/foreign_fetch_request_handler.cc ('k') | content/child/request_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/request_info.h
diff --git a/content/child/request_info.h b/content/child/request_info.h
index a5e026f9709d95b179854e4020bf253531dee7e2..8b64807dbd84d83f8f56bc5072a2d5e29cbd1f79 100644
--- a/content/child/request_info.h
+++ b/content/child/request_info.h
@@ -88,8 +88,8 @@ struct CONTENT_EXPORT RequestInfo {
// True if the request was user initiated.
bool has_user_gesture;
- // True if the request should not be handled by the ServiceWorker.
- bool skip_service_worker;
+ // Indicates which types of ServiceWorkers should skip handling this request.
+ SkipServiceWorker skip_service_worker;
// True if corresponding AppCache group should be resetted.
bool should_reset_appcache;
« no previous file with comments | « content/browser/service_worker/foreign_fetch_request_handler.cc ('k') | content/child/request_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698