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

Side by Side Diff: content/child/request_extra_data.cc

Issue 203853003: Merge weburlrequest_extradata_impl.cc/h into content/child/request_extra_data.cc/h (attempt #2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « content/child/request_extra_data.h ('k') | content/child/resource_dispatcher_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/child/request_extra_data.h" 5 #include "content/child/request_extra_data.h"
6 6
7 #include "content/common/service_worker/service_worker_types.h"
8 #include "ipc/ipc_message.h"
9
7 using blink::WebString; 10 using blink::WebString;
8 11
9 namespace content { 12 namespace content {
10 13
11 RequestExtraData::RequestExtraData( 14 RequestExtraData::RequestExtraData()
12 blink::WebPageVisibilityState visibility_state, 15 : visibility_state_(blink::WebPageVisibilityStateVisible),
13 const WebString& custom_user_agent, 16 render_frame_id_(MSG_ROUTING_NONE),
14 bool was_after_preconnect_request, 17 is_main_frame_(true),
15 int render_frame_id, 18 parent_is_main_frame_(false),
16 bool is_main_frame, 19 parent_render_frame_id_(-1),
17 const GURL& frame_origin, 20 allow_download_(true),
18 bool parent_is_main_frame, 21 transition_type_(PAGE_TRANSITION_LINK),
19 int parent_render_frame_id, 22 should_replace_current_entry_(false),
20 bool allow_download, 23 transferred_request_child_id_(-1),
21 PageTransition transition_type, 24 transferred_request_request_id_(-1),
22 bool should_replace_current_entry, 25 service_worker_provider_id_(kInvalidServiceWorkerProviderId),
23 int transferred_request_child_id, 26 was_after_preconnect_request_(false) {
24 int transferred_request_request_id,
25 int service_worker_provider_id)
26 : webkit_glue::WebURLRequestExtraDataImpl(custom_user_agent,
27 was_after_preconnect_request),
28 visibility_state_(visibility_state),
29 render_frame_id_(render_frame_id),
30 is_main_frame_(is_main_frame),
31 frame_origin_(frame_origin),
32 parent_is_main_frame_(parent_is_main_frame),
33 parent_render_frame_id_(parent_render_frame_id),
34 allow_download_(allow_download),
35 transition_type_(transition_type),
36 should_replace_current_entry_(should_replace_current_entry),
37 transferred_request_child_id_(transferred_request_child_id),
38 transferred_request_request_id_(transferred_request_request_id),
39 service_worker_provider_id_(service_worker_provider_id) {
40 } 27 }
41 28
42 RequestExtraData::~RequestExtraData() { 29 RequestExtraData::~RequestExtraData() {
43 } 30 }
44 31
45 } // namespace content 32 } // namespace content
OLDNEW
« no previous file with comments | « content/child/request_extra_data.h ('k') | content/child/resource_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698