| 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 #ifndef NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 5 #ifndef NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
| 6 #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 6 #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 int read_buf_len_; | 294 int read_buf_len_; |
| 295 | 295 |
| 296 // The time the Start method was called. | 296 // The time the Start method was called. |
| 297 base::Time start_time_; | 297 base::Time start_time_; |
| 298 | 298 |
| 299 // When the transaction started / finished sending the request, including | 299 // When the transaction started / finished sending the request, including |
| 300 // the body, if present. | 300 // the body, if present. |
| 301 base::TimeTicks send_start_time_; | 301 base::TimeTicks send_start_time_; |
| 302 base::TimeTicks send_end_time_; | 302 base::TimeTicks send_end_time_; |
| 303 | 303 |
| 304 // When the transaction finished reading the request headers. | |
| 305 base::TimeTicks receive_headers_end_; | |
| 306 | |
| 307 // The next state in the state machine. | 304 // The next state in the state machine. |
| 308 State next_state_; | 305 State next_state_; |
| 309 | 306 |
| 310 // True when the tunnel is in the process of being established - we can't | 307 // True when the tunnel is in the process of being established - we can't |
| 311 // read from the socket until the tunnel is done. | 308 // read from the socket until the tunnel is done. |
| 312 bool establishing_tunnel_; | 309 bool establishing_tunnel_; |
| 313 | 310 |
| 314 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); | 311 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); |
| 315 }; | 312 }; |
| 316 | 313 |
| 317 } // namespace net | 314 } // namespace net |
| 318 | 315 |
| 319 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 316 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
| OLD | NEW |