OLD | NEW |
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 // The request mode passed to the ServiceWorker. | 86 // The request mode passed to the ServiceWorker. |
87 FetchRequestMode fetch_request_mode; | 87 FetchRequestMode fetch_request_mode; |
88 | 88 |
89 // The credentials mode passed to the ServiceWorker. | 89 // The credentials mode passed to the ServiceWorker. |
90 FetchCredentialsMode fetch_credentials_mode; | 90 FetchCredentialsMode fetch_credentials_mode; |
91 | 91 |
92 // TODO(mmenke): Investigate if enable_load_timing is safe to remove. | 92 // TODO(mmenke): Investigate if enable_load_timing is safe to remove. |
93 // True if load timing data should be collected for the request. | 93 // True if load timing data should be collected for the request. |
94 bool enable_load_timing; | 94 bool enable_load_timing; |
95 | 95 |
| 96 // True if upload progress should be available. |
| 97 bool enable_upload_progress; |
| 98 |
96 // Extra data associated with this request. We do not own this pointer. | 99 // Extra data associated with this request. We do not own this pointer. |
97 blink::WebURLRequest::ExtraData* extra_data; | 100 blink::WebURLRequest::ExtraData* extra_data; |
98 | 101 |
99 private: | 102 private: |
100 DISALLOW_COPY_AND_ASSIGN(RequestInfo); | 103 DISALLOW_COPY_AND_ASSIGN(RequestInfo); |
101 }; | 104 }; |
102 | 105 |
103 } // namespace content | 106 } // namespace content |
104 | 107 |
105 #endif // CONTENT_CHILD_REQUEST_INFO_H_ | 108 #endif // CONTENT_CHILD_REQUEST_INFO_H_ |
OLD | NEW |