| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 // Extra data associated with this request. We do not own this pointer. | 120 // Extra data associated with this request. We do not own this pointer. |
| 121 blink::WebURLRequest::ExtraData* extra_data; | 121 blink::WebURLRequest::ExtraData* extra_data; |
| 122 | 122 |
| 123 // Optional, the specific task queue to execute loading tasks on. | 123 // Optional, the specific task queue to execute loading tasks on. |
| 124 scoped_ptr<blink::WebTaskRunner> loading_web_task_runner; | 124 scoped_ptr<blink::WebTaskRunner> loading_web_task_runner; |
| 125 | 125 |
| 126 // PlzNavigate: the stream URL to request during navigations to get access to | 126 // PlzNavigate: the stream URL to request during navigations to get access to |
| 127 // the ResourceBody that has already been fetched by the browser process. | 127 // the ResourceBody that has already been fetched by the browser process. |
| 128 GURL resource_body_stream_url; | 128 GURL resource_body_stream_url; |
| 129 | 129 |
| 130 // True if the request's body should not be exposed to service workers. |
| 131 bool empty_body_in_service_worker; |
| 132 |
| 130 private: | 133 private: |
| 131 DISALLOW_COPY_AND_ASSIGN(RequestInfo); | 134 DISALLOW_COPY_AND_ASSIGN(RequestInfo); |
| 132 }; | 135 }; |
| 133 | 136 |
| 134 } // namespace content | 137 } // namespace content |
| 135 | 138 |
| 136 #endif // CONTENT_CHILD_REQUEST_INFO_H_ | 139 #endif // CONTENT_CHILD_REQUEST_INFO_H_ |
| OLD | NEW |