Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(577)

Side by Side Diff: content/browser/frame_host/navigation_request.h

Issue 2501343003: PlzNavigate: AppCache support. (Closed)
Patch Set: Add DCHECKs for PlzNavigate and fix a double Release problem which caused one unit_test to fail wit… Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698