OLD | NEW |
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 "webkit/child/resource_loader_bridge.h" | 5 #include "content/public/child/resource_loader_bridge.h" |
6 | 6 |
7 #include "net/http/http_response_headers.h" | 7 #include "net/http/http_response_headers.h" |
8 #include "webkit/common/appcache/appcache_interfaces.h" | 8 #include "webkit/common/appcache/appcache_interfaces.h" |
9 #include "webkit/common/resource_response_info.h" | 9 #include "webkit/common/resource_response_info.h" |
10 | 10 |
11 namespace webkit_glue { | 11 namespace content { |
12 | 12 |
13 ResourceLoaderBridge::RequestInfo::RequestInfo() | 13 ResourceLoaderBridge::RequestInfo::RequestInfo() |
14 : referrer_policy(blink::WebReferrerPolicyDefault), | 14 : referrer_policy(blink::WebReferrerPolicyDefault), |
15 load_flags(0), | 15 load_flags(0), |
16 requestor_pid(0), | 16 requestor_pid(0), |
17 request_type(ResourceType::MAIN_FRAME), | 17 request_type(ResourceType::MAIN_FRAME), |
18 priority(net::LOW), | 18 priority(net::LOW), |
19 request_context(0), | 19 request_context(0), |
20 appcache_host_id(0), | 20 appcache_host_id(0), |
21 routing_id(0), | 21 routing_id(0), |
22 download_to_file(false), | 22 download_to_file(false), |
23 has_user_gesture(false), | 23 has_user_gesture(false), |
24 extra_data(NULL) { | 24 extra_data(NULL) {} |
25 } | |
26 | 25 |
27 ResourceLoaderBridge::RequestInfo::~RequestInfo() {} | 26 ResourceLoaderBridge::RequestInfo::~RequestInfo() {} |
28 | 27 |
29 ResourceLoaderBridge::SyncLoadResponse::SyncLoadResponse() {} | 28 ResourceLoaderBridge::SyncLoadResponse::SyncLoadResponse() {} |
30 | 29 |
31 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() {} | 30 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() {} |
32 | 31 |
33 ResourceLoaderBridge::ResourceLoaderBridge() {} | 32 ResourceLoaderBridge::ResourceLoaderBridge() {} |
34 | 33 |
35 ResourceLoaderBridge::~ResourceLoaderBridge() {} | 34 ResourceLoaderBridge::~ResourceLoaderBridge() {} |
36 | 35 |
37 } // namespace webkit_glue | 36 } // namespace content |
OLD | NEW |