OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 { |
(...skipping 17 matching lines...) Expand all Loading... |
28 } | 28 } |
29 | 29 |
30 ResourceDevToolsInfo::ResourceDevToolsInfo() | 30 ResourceDevToolsInfo::ResourceDevToolsInfo() |
31 : http_status_code(0) { | 31 : http_status_code(0) { |
32 } | 32 } |
33 | 33 |
34 ResourceDevToolsInfo::~ResourceDevToolsInfo() {} | 34 ResourceDevToolsInfo::~ResourceDevToolsInfo() {} |
35 | 35 |
36 ResourceResponseInfo::ResourceResponseInfo() | 36 ResourceResponseInfo::ResourceResponseInfo() |
37 : content_length(-1), | 37 : content_length(-1), |
| 38 raw_data_length(-1), |
38 appcache_id(appcache::kNoCacheId), | 39 appcache_id(appcache::kNoCacheId), |
39 connection_id(0), | 40 connection_id(0), |
40 connection_reused(false), | 41 connection_reused(false), |
41 was_fetched_via_spdy(false), | 42 was_fetched_via_spdy(false), |
42 was_npn_negotiated(false), | 43 was_npn_negotiated(false), |
43 was_alternate_protocol_available(false), | 44 was_alternate_protocol_available(false), |
44 was_fetched_via_proxy(false) { | 45 was_fetched_via_proxy(false) { |
45 } | 46 } |
46 | 47 |
47 ResourceResponseInfo::~ResourceResponseInfo() { | 48 ResourceResponseInfo::~ResourceResponseInfo() { |
(...skipping 19 matching lines...) Expand all Loading... |
67 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() { | 68 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() { |
68 } | 69 } |
69 | 70 |
70 ResourceLoaderBridge::ResourceLoaderBridge() { | 71 ResourceLoaderBridge::ResourceLoaderBridge() { |
71 } | 72 } |
72 | 73 |
73 ResourceLoaderBridge::~ResourceLoaderBridge() { | 74 ResourceLoaderBridge::~ResourceLoaderBridge() { |
74 } | 75 } |
75 | 76 |
76 } // namespace webkit_glue | 77 } // namespace webkit_glue |
OLD | NEW |