| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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/glue/resource_loader_bridge.h" |
| 6 | 6 |
| 7 #include "webkit/appcache/appcache_interfaces.h" | 7 #include "webkit/appcache/appcache_interfaces.h" |
| 8 #include "net/http/http_response_headers.h" | 8 #include "net/http/http_response_headers.h" |
| 9 | 9 |
| 10 namespace webkit_glue { | 10 namespace webkit_glue { |
| 11 | 11 |
| 12 ResourceLoaderBridge::RequestInfo::RequestInfo() | 12 ResourceLoaderBridge::RequestInfo::RequestInfo() |
| 13 : load_flags(0), | 13 : load_flags(0), |
| 14 requestor_pid(0), | 14 requestor_pid(0), |
| 15 request_type(ResourceType::MAIN_FRAME), | 15 request_type(ResourceType::MAIN_FRAME), |
| 16 request_context(0), | 16 request_context(0), |
| 17 appcache_host_id(0), | 17 appcache_host_id(0), |
| 18 routing_id(0) { | 18 routing_id(0), |
| 19 download_to_file(false) { |
| 19 } | 20 } |
| 20 | 21 |
| 21 ResourceLoaderBridge::RequestInfo::~RequestInfo() { | 22 ResourceLoaderBridge::RequestInfo::~RequestInfo() { |
| 22 } | 23 } |
| 23 | 24 |
| 24 ResourceLoaderBridge::LoadTimingInfo::LoadTimingInfo() { | 25 ResourceLoaderBridge::LoadTimingInfo::LoadTimingInfo() { |
| 25 proxy_start = -1; | 26 proxy_start = -1; |
| 26 proxy_end = -1; | 27 proxy_end = -1; |
| 27 dns_start = -1; | 28 dns_start = -1; |
| 28 dns_end = -1; | 29 dns_end = -1; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 59 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() { | 60 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() { |
| 60 } | 61 } |
| 61 | 62 |
| 62 ResourceLoaderBridge::ResourceLoaderBridge() { | 63 ResourceLoaderBridge::ResourceLoaderBridge() { |
| 63 } | 64 } |
| 64 | 65 |
| 65 ResourceLoaderBridge::~ResourceLoaderBridge() { | 66 ResourceLoaderBridge::~ResourceLoaderBridge() { |
| 66 } | 67 } |
| 67 | 68 |
| 68 } // namespace webkit_glue | 69 } // namespace webkit_glue |
| OLD | NEW |