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

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

Issue 2969463003: Move resource_request.h to content/public/common. (Closed)
Patch Set: Merge Created 3 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
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/resource_request.h"
8 #include "content/common/service_worker/service_worker_types.h" 7 #include "content/common/service_worker/service_worker_types.h"
8 #include "content/public/common/resource_request.h"
9 #include "content/public/common/service_worker_modes.h"
9 #include "ipc/ipc_message.h" 10 #include "ipc/ipc_message.h"
10 11
11 using blink::WebString; 12 using blink::WebString;
12 13
13 namespace content { 14 namespace content {
14 15
15 RequestExtraData::RequestExtraData() 16 RequestExtraData::RequestExtraData()
16 : visibility_state_(blink::kWebPageVisibilityStateVisible), 17 : visibility_state_(blink::kWebPageVisibilityStateVisible),
17 render_frame_id_(MSG_ROUTING_NONE), 18 render_frame_id_(MSG_ROUTING_NONE),
18 is_main_frame_(false), 19 is_main_frame_(false),
(...skipping 28 matching lines...) Expand all
47 request->transferred_request_child_id = transferred_request_child_id_; 48 request->transferred_request_child_id = transferred_request_child_id_;
48 request->transferred_request_request_id = transferred_request_request_id_; 49 request->transferred_request_request_id = transferred_request_request_id_;
49 request->service_worker_provider_id = service_worker_provider_id_; 50 request->service_worker_provider_id = service_worker_provider_id_;
50 request->originated_from_service_worker = originated_from_service_worker_; 51 request->originated_from_service_worker = originated_from_service_worker_;
51 52
52 request->initiated_in_secure_context = initiated_in_secure_context_; 53 request->initiated_in_secure_context = initiated_in_secure_context_;
53 request->download_to_network_cache_only = download_to_network_cache_only_; 54 request->download_to_network_cache_only = download_to_network_cache_only_;
54 } 55 }
55 56
56 } // namespace content 57 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/service_worker/service_worker_url_request_job_unittest.cc ('k') | content/child/resource_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698