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

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

Issue 183993004: Tease apart ServiceWorkerNetworkProvider from other stuff. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
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 using blink::WebString; 7 using blink::WebString;
8 8
9 namespace content { 9 namespace content {
10 10
11 RequestExtraData::RequestExtraData( 11 RequestExtraData::RequestExtraData(
12 blink::WebPageVisibilityState visibility_state, 12 blink::WebPageVisibilityState visibility_state,
13 const WebString& custom_user_agent, 13 const WebString& custom_user_agent,
14 bool was_after_preconnect_request, 14 bool was_after_preconnect_request,
15 int render_frame_id, 15 int render_frame_id,
16 bool is_main_frame, 16 bool is_main_frame,
17 int64 frame_id, 17 int64 frame_id,
18 const GURL& frame_origin, 18 const GURL& frame_origin,
19 bool parent_is_main_frame, 19 bool parent_is_main_frame,
20 int64 parent_frame_id, 20 int64 parent_frame_id,
21 bool allow_download, 21 bool allow_download,
22 PageTransition transition_type, 22 PageTransition transition_type,
23 bool should_replace_current_entry, 23 bool should_replace_current_entry,
24 int transferred_request_child_id, 24 int transferred_request_child_id,
25 int transferred_request_request_id) 25 int transferred_request_request_id,
26 int service_worker_provider_id)
26 : webkit_glue::WebURLRequestExtraDataImpl(custom_user_agent, 27 : webkit_glue::WebURLRequestExtraDataImpl(custom_user_agent,
27 was_after_preconnect_request), 28 was_after_preconnect_request),
28 visibility_state_(visibility_state), 29 visibility_state_(visibility_state),
29 render_frame_id_(render_frame_id), 30 render_frame_id_(render_frame_id),
30 is_main_frame_(is_main_frame), 31 is_main_frame_(is_main_frame),
31 frame_id_(frame_id), 32 frame_id_(frame_id),
32 frame_origin_(frame_origin), 33 frame_origin_(frame_origin),
33 parent_is_main_frame_(parent_is_main_frame), 34 parent_is_main_frame_(parent_is_main_frame),
34 parent_frame_id_(parent_frame_id), 35 parent_frame_id_(parent_frame_id),
35 allow_download_(allow_download), 36 allow_download_(allow_download),
36 transition_type_(transition_type), 37 transition_type_(transition_type),
37 should_replace_current_entry_(should_replace_current_entry), 38 should_replace_current_entry_(should_replace_current_entry),
38 transferred_request_child_id_(transferred_request_child_id), 39 transferred_request_child_id_(transferred_request_child_id),
39 transferred_request_request_id_(transferred_request_request_id) { 40 transferred_request_request_id_(transferred_request_request_id),
41 service_worker_provider_id_(service_worker_provider_id) {
40 } 42 }
41 43
42 RequestExtraData::~RequestExtraData() { 44 RequestExtraData::~RequestExtraData() {
43 } 45 }
44 46
45 } // namespace content 47 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698