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 <memory> | 10 #include <memory> |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 int routing_id; | 82 int routing_id; |
83 | 83 |
84 // If true, then the response body will be downloaded to a file and the | 84 // If true, then the response body will be downloaded to a file and the |
85 // path to that file will be provided in ResponseInfo::download_file_path. | 85 // path to that file will be provided in ResponseInfo::download_file_path. |
86 bool download_to_file; | 86 bool download_to_file; |
87 | 87 |
88 // True if the request was user initiated. | 88 // True if the request was user initiated. |
89 bool has_user_gesture; | 89 bool has_user_gesture; |
90 | 90 |
91 // True if the request should not be handled by the ServiceWorker. | 91 // True if the request should not be handled by the ServiceWorker. |
92 bool skip_service_worker; | 92 SkipServiceWorker skip_service_worker; |
93 | 93 |
94 // True if corresponding AppCache group should be resetted. | 94 // True if corresponding AppCache group should be resetted. |
95 bool should_reset_appcache; | 95 bool should_reset_appcache; |
96 | 96 |
97 // The request mode passed to the ServiceWorker. | 97 // The request mode passed to the ServiceWorker. |
98 FetchRequestMode fetch_request_mode; | 98 FetchRequestMode fetch_request_mode; |
99 | 99 |
100 // The credentials mode passed to the ServiceWorker. | 100 // The credentials mode passed to the ServiceWorker. |
101 FetchCredentialsMode fetch_credentials_mode; | 101 FetchCredentialsMode fetch_credentials_mode; |
102 | 102 |
(...skipping 25 matching lines...) Expand all Loading... |
128 // the ResourceBody that has already been fetched by the browser process. | 128 // the ResourceBody that has already been fetched by the browser process. |
129 GURL resource_body_stream_url; | 129 GURL resource_body_stream_url; |
130 | 130 |
131 private: | 131 private: |
132 DISALLOW_COPY_AND_ASSIGN(RequestInfo); | 132 DISALLOW_COPY_AND_ASSIGN(RequestInfo); |
133 }; | 133 }; |
134 | 134 |
135 } // namespace content | 135 } // namespace content |
136 | 136 |
137 #endif // CONTENT_CHILD_REQUEST_INFO_H_ | 137 #endif // CONTENT_CHILD_REQUEST_INFO_H_ |
OLD | NEW |