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

Side by Side Diff: content/child/request_info.h

Issue 615493003: [ServiceWorker] Plumbing the request credentials mode to the ServiceWorker. [2/2 chromium] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_CHILD_REQUEST_INFO_H_ 5 #ifndef CONTENT_CHILD_REQUEST_INFO_H_
6 #define CONTENT_CHILD_REQUEST_INFO_H_ 6 #define CONTENT_CHILD_REQUEST_INFO_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 // True if the request was user initiated. 76 // True if the request was user initiated.
77 bool has_user_gesture; 77 bool has_user_gesture;
78 78
79 // True if the request should not be handled by the ServiceWorker. 79 // True if the request should not be handled by the ServiceWorker.
80 bool skip_service_worker; 80 bool skip_service_worker;
81 81
82 // The request mode passed to the ServiceWorker. 82 // The request mode passed to the ServiceWorker.
83 FetchRequestMode fetch_request_mode; 83 FetchRequestMode fetch_request_mode;
84 84
85 // The credentials mode passed to the ServiceWorker.
86 FetchCredentialsMode fetch_credentials_mode;
87
85 // TODO(mmenke): Investigate if enable_load_timing is safe to remove. 88 // TODO(mmenke): Investigate if enable_load_timing is safe to remove.
86 // True if load timing data should be collected for the request. 89 // True if load timing data should be collected for the request.
87 bool enable_load_timing; 90 bool enable_load_timing;
88 91
89 // Extra data associated with this request. We do not own this pointer. 92 // Extra data associated with this request. We do not own this pointer.
90 blink::WebURLRequest::ExtraData* extra_data; 93 blink::WebURLRequest::ExtraData* extra_data;
91 94
92 private: 95 private:
93 DISALLOW_COPY_AND_ASSIGN(RequestInfo); 96 DISALLOW_COPY_AND_ASSIGN(RequestInfo);
94 }; 97 };
95 98
96 } // namespace content 99 } // namespace content
97 100
98 #endif // CONTENT_CHILD_REQUEST_INFO_H_ 101 #endif // CONTENT_CHILD_REQUEST_INFO_H_
OLDNEW
« no previous file with comments | « content/browser/service_worker/service_worker_url_request_job_unittest.cc ('k') | content/child/request_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698