Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: content/browser/frame_host/navigation_request_info.cc

Issue 367653002: Add a FrameHostMsg_BeginNavigation IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added unit test + fixed bug in parent_is_render_frame_computation Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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),
17 referrer_policy(params.referrer_policy),
18 headers(params.headers),
19 load_flags(params.load_flags),
20 has_user_gesture(params.has_user_gesture),
21 transition_type(params.transition_type),
22 should_replace_current_entry(params.should_replace_current_entry),
23 allow_download(params.allow_download),
24 is_main_frame(true),
25 parent_is_main_frame(false),
26 is_showing(true) {
27 }
28
29 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698