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

Side by Side Diff: content/browser/frame_host/navigation_request_info.cc

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 #include "content/browser/frame_host/navigation_request_info.h" 5 #include "content/browser/frame_host/navigation_request_info.h"
6 #include "content/common/service_worker/service_worker_types.h" 6 #include "content/common/service_worker/service_worker_types.h"
7 7
8 namespace content { 8 namespace content {
9 9
10 NavigationRequestInfo::NavigationRequestInfo( 10 NavigationRequestInfo::NavigationRequestInfo(
11 const CommonNavigationParams& common_params, 11 const CommonNavigationParams& common_params,
12 const BeginNavigationParams& begin_params, 12 const BeginNavigationParams& begin_params,
13 const GURL& first_party_for_cookies, 13 const GURL& first_party_for_cookies,
14 const url::Origin& request_initiator, 14 const url::Origin& request_initiator,
15 bool is_main_frame, 15 bool is_main_frame,
16 bool parent_is_main_frame, 16 bool parent_is_main_frame,
17 bool are_ancestors_secure, 17 bool are_ancestors_secure,
18 int frame_tree_node_id, 18 int frame_tree_node_id,
19 bool is_for_guests_only, 19 bool is_for_guests_only,
20 bool report_raw_headers) 20 bool report_raw_headers,
21 int appcache_host_id,
22 AppCacheServiceImpl* appcache_service)
21 : common_params(common_params), 23 : common_params(common_params),
22 begin_params(begin_params), 24 begin_params(begin_params),
23 first_party_for_cookies(first_party_for_cookies), 25 first_party_for_cookies(first_party_for_cookies),
24 request_initiator(request_initiator), 26 request_initiator(request_initiator),
25 is_main_frame(is_main_frame), 27 is_main_frame(is_main_frame),
26 parent_is_main_frame(parent_is_main_frame), 28 parent_is_main_frame(parent_is_main_frame),
27 are_ancestors_secure(are_ancestors_secure), 29 are_ancestors_secure(are_ancestors_secure),
28 frame_tree_node_id(frame_tree_node_id), 30 frame_tree_node_id(frame_tree_node_id),
29 is_for_guests_only(is_for_guests_only), 31 is_for_guests_only(is_for_guests_only),
30 report_raw_headers(report_raw_headers) {} 32 report_raw_headers(report_raw_headers),
33 appcache_host_id(appcache_host_id),
34 appcache_service(appcache_service) {}
31 35
32 NavigationRequestInfo::~NavigationRequestInfo() {} 36 NavigationRequestInfo::~NavigationRequestInfo() {}
33 37
34 } // namespace content 38 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698