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