| 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 #include "content/browser/frame_host/navigation_request_info.h" | 5 #include "content/browser/frame_host/navigation_request_info.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 NavigationRequestInfo::NavigationRequestInfo( | 9 NavigationRequestInfo::NavigationRequestInfo( |
| 10 const CommonNavigationParams& common_params, | 10 const CommonNavigationParams& common_params, |
| 11 const BeginNavigationParams& begin_params, | 11 const BeginNavigationParams& begin_params, |
| 12 const GURL& first_party_for_cookies, | 12 const GURL& first_party_for_cookies, |
| 13 bool is_main_frame, | 13 bool is_main_frame, |
| 14 bool parent_is_main_frame, | 14 bool parent_is_main_frame, |
| 15 int frame_tree_node_id, |
| 15 scoped_refptr<ResourceRequestBody> request_body) | 16 scoped_refptr<ResourceRequestBody> request_body) |
| 16 : common_params(common_params), | 17 : common_params(common_params), |
| 17 begin_params(begin_params), | 18 begin_params(begin_params), |
| 18 first_party_for_cookies(first_party_for_cookies), | 19 first_party_for_cookies(first_party_for_cookies), |
| 19 is_main_frame(is_main_frame), | 20 is_main_frame(is_main_frame), |
| 20 parent_is_main_frame(parent_is_main_frame), | 21 parent_is_main_frame(parent_is_main_frame), |
| 22 frame_tree_node_id(frame_tree_node_id), |
| 21 request_body(request_body) { | 23 request_body(request_body) { |
| 22 } | 24 } |
| 23 | 25 |
| 24 NavigationRequestInfo::~NavigationRequestInfo() {} | 26 NavigationRequestInfo::~NavigationRequestInfo() {} |
| 25 | 27 |
| 26 } // namespace content | 28 } // namespace content |
| OLD | NEW |