OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_COMMON_RESOURCE_REQUEST_H_ | 5 #ifndef CONTENT_COMMON_RESOURCE_REQUEST_H_ |
6 #define CONTENT_COMMON_RESOURCE_REQUEST_H_ | 6 #define CONTENT_COMMON_RESOURCE_REQUEST_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 // access to the body of the response that has already been fetched by the | 189 // access to the body of the response that has already been fetched by the |
190 // browser. | 190 // browser. |
191 GURL resource_body_stream_url; | 191 GURL resource_body_stream_url; |
192 | 192 |
193 // Wether or not the initiator of this request is a secure context. | 193 // Wether or not the initiator of this request is a secure context. |
194 bool initiated_in_secure_context = false; | 194 bool initiated_in_secure_context = false; |
195 | 195 |
196 // The response should be downloaded and stored in the network cache, but not | 196 // The response should be downloaded and stored in the network cache, but not |
197 // sent back to the renderer. | 197 // sent back to the renderer. |
198 bool download_to_network_cache_only = false; | 198 bool download_to_network_cache_only = false; |
| 199 |
| 200 // The id of the associated DevToolsAgentHost, if any. |
| 201 std::string devtools_agent_host_id; |
| 202 |
| 203 // The DevTools request id, if any. |
| 204 std::string devtools_request_id; |
199 }; | 205 }; |
200 | 206 |
201 } // namespace content | 207 } // namespace content |
202 | 208 |
203 #endif // CONTENT_COMMON_RESOURCE_REQUEST_H_ | 209 #endif // CONTENT_COMMON_RESOURCE_REQUEST_H_ |
OLD | NEW |