OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "content/browser/frame_host/navigation_request_info.h" |
| 6 |
| 7 #include "content/common/frame_messages.h" |
| 8 #include "content/common/resource_request_body.h" |
| 9 |
| 10 namespace content { |
| 11 |
| 12 NavigationRequestInfo::NavigationRequestInfo( |
| 13 const FrameHostMsg_BeginNavigation_Params& params) |
| 14 : method(params.method), |
| 15 url(params.url), |
| 16 referrer(params.referrer, params.referrer_policy), |
| 17 headers(params.headers), |
| 18 load_flags(params.load_flags), |
| 19 has_user_gesture(params.has_user_gesture), |
| 20 transition_type(params.transition_type), |
| 21 should_replace_current_entry(params.should_replace_current_entry), |
| 22 allow_download(params.allow_download), |
| 23 is_main_frame(true), |
| 24 parent_is_main_frame(false), |
| 25 is_showing(true) { |
| 26 } |
| 27 |
| 28 } // namespace content |
OLD | NEW |