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

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: Addressed Przemek's comments + fixed compilation error 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, 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698