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

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

Issue 2053693002: WIP: Move 'Upgrade-Insecure-Requests' to the browser process. Base URL: https://chromium.googlesource.com/chromium/src.git@replicate
Patch Set: Created 4 years, 6 months 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 should_upgrade_to_secure_transport,
15 bool is_main_frame, 16 bool is_main_frame,
16 bool parent_is_main_frame, 17 bool parent_is_main_frame,
17 int frame_tree_node_id) 18 int frame_tree_node_id)
18 : common_params(common_params), 19 : common_params(common_params),
19 begin_params(begin_params), 20 begin_params(begin_params),
20 first_party_for_cookies(first_party_for_cookies), 21 first_party_for_cookies(first_party_for_cookies),
21 request_initiator(request_initiator), 22 request_initiator(request_initiator),
23 should_upgrade_to_secure_transport(should_upgrade_to_secure_transport),
22 is_main_frame(is_main_frame), 24 is_main_frame(is_main_frame),
23 parent_is_main_frame(parent_is_main_frame), 25 parent_is_main_frame(parent_is_main_frame),
24 frame_tree_node_id(frame_tree_node_id) {} 26 frame_tree_node_id(frame_tree_node_id) {}
25 27
26 NavigationRequestInfo::~NavigationRequestInfo() {} 28 NavigationRequestInfo::~NavigationRequestInfo() {}
27 29
28 } // namespace content 30 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698