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/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 ResourceLoadTimingInfo::ResourceLoadTimingInfo() | |
13 : proxy_start(-1), | |
14 proxy_end(-1), | |
15 dns_start(-1), | |
16 dns_end(-1), | |
17 connect_start(-1), | |
18 connect_end(-1), | |
19 ssl_start(-1), | |
20 ssl_end(-1), | |
21 send_start(0), | |
22 send_end(0), | |
23 receive_headers_start(0), | |
24 receive_headers_end(0) { | |
25 } | |
26 | |
27 ResourceLoadTimingInfo::~ResourceLoadTimingInfo() {} | |
28 | |
29 ResourceDevToolsInfo::ResourceDevToolsInfo() | 12 ResourceDevToolsInfo::ResourceDevToolsInfo() |
30 : http_status_code(0) { | 13 : http_status_code(0) { |
31 } | 14 } |
32 | 15 |
33 ResourceDevToolsInfo::~ResourceDevToolsInfo() {} | 16 ResourceDevToolsInfo::~ResourceDevToolsInfo() {} |
34 | 17 |
35 ResourceResponseInfo::ResourceResponseInfo() | 18 ResourceResponseInfo::ResourceResponseInfo() |
36 : content_length(-1), | 19 : content_length(-1), |
37 encoded_data_length(-1), | 20 encoded_data_length(-1), |
38 appcache_id(appcache::kNoCacheId), | 21 appcache_id(appcache::kNoCacheId), |
39 connection_id(0), | |
40 connection_reused(false), | |
41 was_fetched_via_spdy(false), | 22 was_fetched_via_spdy(false), |
42 was_npn_negotiated(false), | 23 was_npn_negotiated(false), |
43 was_alternate_protocol_available(false), | 24 was_alternate_protocol_available(false), |
44 was_fetched_via_proxy(false) { | 25 was_fetched_via_proxy(false) { |
45 } | 26 } |
46 | 27 |
47 ResourceResponseInfo::~ResourceResponseInfo() {} | 28 ResourceResponseInfo::~ResourceResponseInfo() {} |
48 | 29 |
49 ResourceLoaderBridge::RequestInfo::RequestInfo() | 30 ResourceLoaderBridge::RequestInfo::RequestInfo() |
50 : referrer_policy(WebKit::WebReferrerPolicyDefault), | 31 : referrer_policy(WebKit::WebReferrerPolicyDefault), |
(...skipping 13 matching lines...) Expand all Loading... |
64 | 45 |
65 ResourceLoaderBridge::SyncLoadResponse::SyncLoadResponse() {} | 46 ResourceLoaderBridge::SyncLoadResponse::SyncLoadResponse() {} |
66 | 47 |
67 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() {} | 48 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() {} |
68 | 49 |
69 ResourceLoaderBridge::ResourceLoaderBridge() {} | 50 ResourceLoaderBridge::ResourceLoaderBridge() {} |
70 | 51 |
71 ResourceLoaderBridge::~ResourceLoaderBridge() {} | 52 ResourceLoaderBridge::~ResourceLoaderBridge() {} |
72 | 53 |
73 } // namespace webkit_glue | 54 } // namespace webkit_glue |
OLD | NEW |