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 24 matching lines...) Expand all Loading... |
35 | 35 |
36 ResourceResponseInfo::ResourceResponseInfo() | 36 ResourceResponseInfo::ResourceResponseInfo() |
37 : content_length(-1), | 37 : content_length(-1), |
38 encoded_data_length(-1), | 38 encoded_data_length(-1), |
39 appcache_id(appcache::kNoCacheId), | 39 appcache_id(appcache::kNoCacheId), |
40 connection_id(0), | 40 connection_id(0), |
41 connection_reused(false), | 41 connection_reused(false), |
42 was_fetched_via_spdy(false), | 42 was_fetched_via_spdy(false), |
43 was_npn_negotiated(false), | 43 was_npn_negotiated(false), |
44 was_alternate_protocol_available(false), | 44 was_alternate_protocol_available(false), |
45 was_fetched_via_proxy(false) { | 45 was_fetched_via_proxy(false), |
| 46 needs_encoding_detection(false) { |
46 } | 47 } |
47 | 48 |
48 ResourceResponseInfo::~ResourceResponseInfo() { | 49 ResourceResponseInfo::~ResourceResponseInfo() { |
49 } | 50 } |
50 | 51 |
51 ResourceLoaderBridge::RequestInfo::RequestInfo() | 52 ResourceLoaderBridge::RequestInfo::RequestInfo() |
52 : referrer_policy(WebKit::WebReferrerPolicyDefault), | 53 : referrer_policy(WebKit::WebReferrerPolicyDefault), |
53 load_flags(0), | 54 load_flags(0), |
54 requestor_pid(0), | 55 requestor_pid(0), |
55 request_type(ResourceType::MAIN_FRAME), | 56 request_type(ResourceType::MAIN_FRAME), |
(...skipping 14 matching lines...) Expand all Loading... |
70 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() { | 71 ResourceLoaderBridge::SyncLoadResponse::~SyncLoadResponse() { |
71 } | 72 } |
72 | 73 |
73 ResourceLoaderBridge::ResourceLoaderBridge() { | 74 ResourceLoaderBridge::ResourceLoaderBridge() { |
74 } | 75 } |
75 | 76 |
76 ResourceLoaderBridge::~ResourceLoaderBridge() { | 77 ResourceLoaderBridge::~ResourceLoaderBridge() { |
77 } | 78 } |
78 | 79 |
79 } // namespace webkit_glue | 80 } // namespace webkit_glue |
OLD | NEW |