| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_ |
| OLD | NEW |