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

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

Issue 2501343003: PlzNavigate: AppCache support. (Closed)
Patch Set: Maintain a refcounted instance of ChromeAppCacheService in the AppCacheNavigationHandleCore instanc… Created 4 years 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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 207
208 NavigationState state_; 208 NavigationState state_;
209 209
210
211 std::unique_ptr<NavigationURLLoader> loader_; 210 std::unique_ptr<NavigationURLLoader> loader_;
212 211
213 // These next items are used in browser-initiated navigations to store 212 // These next items are used in browser-initiated navigations to store
214 // information from the NavigationEntryImpl that is required after request 213 // information from the NavigationEntryImpl that is required after request
215 // creation time. 214 // creation time.
216 scoped_refptr<SiteInstanceImpl> source_site_instance_; 215 scoped_refptr<SiteInstanceImpl> source_site_instance_;
217 scoped_refptr<SiteInstanceImpl> dest_site_instance_; 216 scoped_refptr<SiteInstanceImpl> dest_site_instance_;
218 RestoreType restore_type_; 217 RestoreType restore_type_;
219 bool is_view_source_; 218 bool is_view_source_;
220 int bindings_; 219 int bindings_;
221 220
222 // The type of SiteInstance associated with this navigation. 221 // The type of SiteInstance associated with this navigation.
223 AssociatedSiteInstanceType associated_site_instance_type_; 222 AssociatedSiteInstanceType associated_site_instance_type_;
224 223
225 std::unique_ptr<NavigationHandleImpl> navigation_handle_; 224 std::unique_ptr<NavigationHandleImpl> navigation_handle_;
226 225
227 // Holds the ResourceResponse and the StreamHandle for the navigation while 226 // Holds the ResourceResponse and the StreamHandle for the navigation while
228 // the WillProcessResponse checks are performed by the NavigationHandle. 227 // the WillProcessResponse checks are performed by the NavigationHandle.
229 scoped_refptr<ResourceResponse> response_; 228 scoped_refptr<ResourceResponse> response_;
230 std::unique_ptr<StreamHandle> body_; 229 std::unique_ptr<StreamHandle> body_;
231 230
232 DISALLOW_COPY_AND_ASSIGN(NavigationRequest); 231 DISALLOW_COPY_AND_ASSIGN(NavigationRequest);
233 }; 232 };
234 233
235 } // namespace content 234 } // namespace content
236 235
237 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_ 236 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_REQUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698