OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 int read_buf_len_; | 362 int read_buf_len_; |
363 | 363 |
364 // The time the Start method was called. | 364 // The time the Start method was called. |
365 base::Time start_time_; | 365 base::Time start_time_; |
366 | 366 |
367 // The time the DoSSLConnect() method was called (if it got called). | 367 // The time the DoSSLConnect() method was called (if it got called). |
368 base::TimeTicks ssl_connect_start_time_; | 368 base::TimeTicks ssl_connect_start_time_; |
369 | 369 |
370 // The next state in the state machine. | 370 // The next state in the state machine. |
371 State next_state_; | 371 State next_state_; |
| 372 |
| 373 // The hostname and port of the peer. This is not necessarily the one |
| 374 // specified by the URL, due to Alternate-Protocol or proxies. |
| 375 HostPortPair peer_; |
| 376 |
| 377 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); |
372 }; | 378 }; |
373 | 379 |
374 } // namespace net | 380 } // namespace net |
375 | 381 |
376 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 382 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
OLD | NEW |