| 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 #include "content/common/resource_request_body.h" | 7 #include "content/common/resource_request_body.h" |
| 8 | 8 |
| 9 namespace content { | 9 namespace content { |
| 10 | 10 |
| 11 NavigationRequestInfo::NavigationRequestInfo( | 11 NavigationRequestInfo::NavigationRequestInfo( |
| 12 const FrameHostMsg_BeginNavigation_Params& params) | 12 const BeginNavigationParams& params, |
| 13 : navigation_params(params), | 13 const GURL& first_party_for_cookies, |
| 14 is_main_frame(true), | 14 bool is_main_frame, |
| 15 parent_is_main_frame(false) { | 15 bool parent_is_main_frame, |
| 16 scoped_refptr<ResourceRequestBody> request_body) |
| 17 : begin_params(params), |
| 18 first_party_for_cookies(first_party_for_cookies), |
| 19 is_main_frame(is_main_frame), |
| 20 parent_is_main_frame(parent_is_main_frame), |
| 21 request_body(request_body) { |
| 16 } | 22 } |
| 17 | 23 |
| 24 NavigationRequestInfo::~NavigationRequestInfo() {} |
| 25 |
| 18 } // namespace content | 26 } // namespace content |
| OLD | NEW |