| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 // The time that proxy processing ended. For reused sockets this time | 110 // The time that proxy processing ended. For reused sockets this time |
| 111 // is -1. | 111 // is -1. |
| 112 int32 proxy_end; | 112 int32 proxy_end; |
| 113 | 113 |
| 114 // The time that DNS lookup started. For reused sockets this time is -1. | 114 // The time that DNS lookup started. For reused sockets this time is -1. |
| 115 int32 dns_start; | 115 int32 dns_start; |
| 116 | 116 |
| 117 // The time that DNS lookup ended. For reused sockets this time is -1. | 117 // The time that DNS lookup ended. For reused sockets this time is -1. |
| 118 int32 dns_end; | 118 int32 dns_end; |
| 119 | 119 |
| 120 // The time that establishing connection started. For reused sockets | 120 // The time that establishing connection started. Connect time includes |
| 121 // this time is -1. Connect time includes dns time. | 121 // DNS, blocking, TCP, TCP retries and SSL time. |
| 122 int32 connect_start; | 122 int32 connect_start; |
| 123 | 123 |
| 124 // The time that establishing connection ended. For reused sockets this | 124 // The time that establishing connection ended. Connect time includes |
| 125 // time is -1. Connect time includes dns time. | 125 // DNS, blocking, TCP, TCP retries and SSL time. |
| 126 int32 connect_end; | 126 int32 connect_end; |
| 127 | 127 |
| 128 // The time at which SSL handshake started. For non-HTTPS requests this | 128 // The time at which SSL handshake started. For non-HTTPS requests this |
| 129 // is 0. | 129 // is 0. |
| 130 int32 ssl_start; | 130 int32 ssl_start; |
| 131 | 131 |
| 132 // The time at which SSL handshake ended. For non-HTTPS requests this is 0. | 132 // The time at which SSL handshake ended. For non-HTTPS requests this is 0. |
| 133 int32 ssl_end; | 133 int32 ssl_end; |
| 134 | 134 |
| 135 // The time that HTTP request started. For non-HTTP requests this is 0. | 135 // The time that HTTP request started. For non-HTTP requests this is 0. |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 // construction must go through Create() | 350 // construction must go through Create() |
| 351 ResourceLoaderBridge(); | 351 ResourceLoaderBridge(); |
| 352 | 352 |
| 353 private: | 353 private: |
| 354 DISALLOW_COPY_AND_ASSIGN(ResourceLoaderBridge); | 354 DISALLOW_COPY_AND_ASSIGN(ResourceLoaderBridge); |
| 355 }; | 355 }; |
| 356 | 356 |
| 357 } // namespace webkit_glue | 357 } // namespace webkit_glue |
| 358 | 358 |
| 359 #endif // WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_ | 359 #endif // WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_ |
| OLD | NEW |