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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
222 // The type of SiteInstance associated with this navigation. | 222 // The type of SiteInstance associated with this navigation. |
223 AssociatedSiteInstanceType associated_site_instance_type_; | 223 AssociatedSiteInstanceType associated_site_instance_type_; |
224 | 224 |
225 std::unique_ptr<NavigationHandleImpl> navigation_handle_; | 225 std::unique_ptr<NavigationHandleImpl> navigation_handle_; |
226 | 226 |
227 // Holds the ResourceResponse and the StreamHandle for the navigation while | 227 // Holds the ResourceResponse and the StreamHandle for the navigation while |
228 // the WillProcessResponse checks are performed by the NavigationHandle. | 228 // the WillProcessResponse checks are performed by the NavigationHandle. |
229 scoped_refptr<ResourceResponse> response_; | 229 scoped_refptr<ResourceResponse> response_; |
230 std::unique_ptr<StreamHandle> body_; | 230 std::unique_ptr<StreamHandle> body_; |
231 | 231 |
232 // The host_id used by the AppCacheDispatcherHost to identity this | |
233 /// navigation. | |
234 int appcache_host_id_; | |
michaeln
2016/11/22 00:17:27
we put this value in the ServiceWorkerNavigationHa
| |
235 | |
236 // Set to true when the navigation commits. Defaults to false. | |
237 bool navigation_committed_; | |
238 | |
232 DISALLOW_COPY_AND_ASSIGN(NavigationRequest); | 239 DISALLOW_COPY_AND_ASSIGN(NavigationRequest); |
233 }; | 240 }; |
234 | 241 |
235 } // namespace content | 242 } // namespace content |
236 | 243 |
237 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ | 244 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ |
OLD | NEW |