| 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..8bb3bdef31c62340e4469bfa33bdacd8cb04a992
|
| --- /dev/null
|
| +++ b/content/browser/frame_host/navigation_request_info.cc
|
| @@ -0,0 +1,28 @@
|
| +// 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, 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
|
|
|