Index: content/browser/frame_host/navigation_request_info.cc |
diff --git a/content/browser/frame_host/navigation_request_info.cc b/content/browser/frame_host/navigation_request_info.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5c37af066a3b7a6bda8f8492e961071d12345035 |
--- /dev/null |
+++ b/content/browser/frame_host/navigation_request_info.cc |
@@ -0,0 +1,29 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "content/browser/frame_host/navigation_request_info.h" |
+ |
+#include "content/common/frame_messages.h" |
+#include "content/common/resource_request_body.h" |
+ |
+namespace content { |
+ |
+NavigationRequestInfo::NavigationRequestInfo( |
+ const FrameHostMsg_BeginNavigation_Params& params) |
+ : method(params.method), |
+ url(params.url), |
+ referrer(params.referrer), |
+ referrer_policy(params.referrer_policy), |
+ headers(params.headers), |
+ load_flags(params.load_flags), |
+ has_user_gesture(params.has_user_gesture), |
+ transition_type(params.transition_type), |
+ should_replace_current_entry(params.should_replace_current_entry), |
+ allow_download(params.allow_download), |
+ is_main_frame(true), |
+ parent_is_main_frame(false), |
+ is_showing(true) { |
+} |
+ |
+} // namespace content |