OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // The intent of this file is to provide a type-neutral abstraction between | 5 // The intent of this file is to provide a type-neutral abstraction between |
6 // Chrome and WebKit for resource loading. This pure-virtual interface is | 6 // Chrome and WebKit for resource loading. This pure-virtual interface is |
7 // implemented by the embedder, which also provides a factory method Create | 7 // implemented by the embedder, which also provides a factory method Create |
8 // to instantiate this object. | 8 // to instantiate this object. |
9 // | 9 // |
10 // One of these objects will be created by WebKit for each request. WebKit | 10 // One of these objects will be created by WebKit for each request. WebKit |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 int64 appcache_id; | 177 int64 appcache_id; |
178 | 178 |
179 // The manifest url of the appcache this response was loaded from. | 179 // The manifest url of the appcache this response was loaded from. |
180 // Note: this value is only populated for main resource requests. | 180 // Note: this value is only populated for main resource requests. |
181 GURL appcache_manifest_url; | 181 GURL appcache_manifest_url; |
182 | 182 |
183 // Connection identifier from the underlying network stack. In case there | 183 // Connection identifier from the underlying network stack. In case there |
184 // is no associated connection, contains 0. | 184 // is no associated connection, contains 0. |
185 uint32 connection_id; | 185 uint32 connection_id; |
186 | 186 |
| 187 // Determines whether physical connection reused. |
| 188 bool connection_reused; |
| 189 |
187 // Detailed timing information used by the WebTiming, HAR and Developer | 190 // Detailed timing information used by the WebTiming, HAR and Developer |
188 // Tools. | 191 // Tools. |
189 LoadTimingInfo load_timing; | 192 LoadTimingInfo load_timing; |
190 | 193 |
191 // True if the response was delivered using SPDY. | 194 // True if the response was delivered using SPDY. |
192 bool was_fetched_via_spdy; | 195 bool was_fetched_via_spdy; |
193 | 196 |
194 // True if the response was delivered after NPN is negotiated. | 197 // True if the response was delivered after NPN is negotiated. |
195 bool was_npn_negotiated; | 198 bool was_npn_negotiated; |
196 | 199 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 // construction must go through Create() | 336 // construction must go through Create() |
334 ResourceLoaderBridge(); | 337 ResourceLoaderBridge(); |
335 | 338 |
336 private: | 339 private: |
337 DISALLOW_COPY_AND_ASSIGN(ResourceLoaderBridge); | 340 DISALLOW_COPY_AND_ASSIGN(ResourceLoaderBridge); |
338 }; | 341 }; |
339 | 342 |
340 } // namespace webkit_glue | 343 } // namespace webkit_glue |
341 | 344 |
342 #endif // WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_ | 345 #endif // WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_ |
OLD | NEW |