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_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 // will be set to the final navigation url, obtained after following all | 197 // will be set to the final navigation url, obtained after following all |
198 // redirects. | 198 // redirects. |
199 // Note: |common_params_| and |begin_params_| are not const as they can be | 199 // Note: |common_params_| and |begin_params_| are not const as they can be |
200 // modified during redirects. | 200 // modified during redirects. |
201 // Note: |request_params_| is not const because service_worker_provider_id | 201 // Note: |request_params_| is not const because service_worker_provider_id |
202 // and should_create_service_worker will be set in OnResponseStarted. | 202 // and should_create_service_worker will be set in OnResponseStarted. |
203 CommonNavigationParams common_params_; | 203 CommonNavigationParams common_params_; |
204 BeginNavigationParams begin_params_; | 204 BeginNavigationParams begin_params_; |
205 RequestNavigationParams request_params_; | 205 RequestNavigationParams request_params_; |
206 const bool browser_initiated_; | 206 const bool browser_initiated_; |
| 207 bool is_srcdoc_; |
207 | 208 |
208 NavigationState state_; | 209 NavigationState state_; |
209 | 210 |
210 | 211 |
211 std::unique_ptr<NavigationURLLoader> loader_; | 212 std::unique_ptr<NavigationURLLoader> loader_; |
212 | 213 |
213 // These next items are used in browser-initiated navigations to store | 214 // These next items are used in browser-initiated navigations to store |
214 // information from the NavigationEntryImpl that is required after request | 215 // information from the NavigationEntryImpl that is required after request |
215 // creation time. | 216 // creation time. |
216 scoped_refptr<SiteInstanceImpl> source_site_instance_; | 217 scoped_refptr<SiteInstanceImpl> source_site_instance_; |
(...skipping 11 matching lines...) Expand all Loading... |
228 // the WillProcessResponse checks are performed by the NavigationHandle. | 229 // the WillProcessResponse checks are performed by the NavigationHandle. |
229 scoped_refptr<ResourceResponse> response_; | 230 scoped_refptr<ResourceResponse> response_; |
230 std::unique_ptr<StreamHandle> body_; | 231 std::unique_ptr<StreamHandle> body_; |
231 | 232 |
232 DISALLOW_COPY_AND_ASSIGN(NavigationRequest); | 233 DISALLOW_COPY_AND_ASSIGN(NavigationRequest); |
233 }; | 234 }; |
234 | 235 |
235 } // namespace content | 236 } // namespace content |
236 | 237 |
237 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ | 238 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ |
OLD | NEW |