| 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 <string> | 11 #include <string> |
| 11 | 12 |
| 12 #include "base/macros.h" | 13 #include "base/macros.h" |
| 13 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
| 14 #include "content/common/service_worker/service_worker_types.h" | 15 #include "content/common/service_worker/service_worker_types.h" |
| 15 #include "content/public/common/referrer.h" | 16 #include "content/public/common/referrer.h" |
| 16 #include "content/public/common/request_context_frame_type.h" | 17 #include "content/public/common/request_context_frame_type.h" |
| 17 #include "content/public/common/request_context_type.h" | 18 #include "content/public/common/request_context_type.h" |
| 18 #include "content/public/common/resource_type.h" | 19 #include "content/public/common/resource_type.h" |
| 19 #include "net/base/request_priority.h" | 20 #include "net/base/request_priority.h" |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 bool do_not_prompt_for_login; | 115 bool do_not_prompt_for_login; |
| 115 | 116 |
| 116 // True if the actual headers from the network stack should be reported | 117 // True if the actual headers from the network stack should be reported |
| 117 // to the renderer | 118 // to the renderer |
| 118 bool report_raw_headers; | 119 bool report_raw_headers; |
| 119 | 120 |
| 120 // Extra data associated with this request. We do not own this pointer. | 121 // Extra data associated with this request. We do not own this pointer. |
| 121 blink::WebURLRequest::ExtraData* extra_data; | 122 blink::WebURLRequest::ExtraData* extra_data; |
| 122 | 123 |
| 123 // Optional, the specific task queue to execute loading tasks on. | 124 // Optional, the specific task queue to execute loading tasks on. |
| 124 scoped_ptr<blink::WebTaskRunner> loading_web_task_runner; | 125 std::unique_ptr<blink::WebTaskRunner> loading_web_task_runner; |
| 125 | 126 |
| 126 // PlzNavigate: the stream URL to request during navigations to get access to | 127 // PlzNavigate: the stream URL to request during navigations to get access to |
| 127 // the ResourceBody that has already been fetched by the browser process. | 128 // the ResourceBody that has already been fetched by the browser process. |
| 128 GURL resource_body_stream_url; | 129 GURL resource_body_stream_url; |
| 129 | 130 |
| 130 private: | 131 private: |
| 131 DISALLOW_COPY_AND_ASSIGN(RequestInfo); | 132 DISALLOW_COPY_AND_ASSIGN(RequestInfo); |
| 132 }; | 133 }; |
| 133 | 134 |
| 134 } // namespace content | 135 } // namespace content |
| 135 | 136 |
| 136 #endif // CONTENT_CHILD_REQUEST_INFO_H_ | 137 #endif // CONTENT_CHILD_REQUEST_INFO_H_ |
| OLD | NEW |