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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 STATE_RESOLVE_PROXY, | 77 STATE_RESOLVE_PROXY, |
78 STATE_RESOLVE_PROXY_COMPLETE, | 78 STATE_RESOLVE_PROXY_COMPLETE, |
79 STATE_INIT_CONNECTION, | 79 STATE_INIT_CONNECTION, |
80 STATE_INIT_CONNECTION_COMPLETE, | 80 STATE_INIT_CONNECTION_COMPLETE, |
81 STATE_SSL_CONNECT, | 81 STATE_SSL_CONNECT, |
82 STATE_SSL_CONNECT_COMPLETE, | 82 STATE_SSL_CONNECT_COMPLETE, |
83 STATE_SEND_REQUEST, | 83 STATE_SEND_REQUEST, |
84 STATE_SEND_REQUEST_COMPLETE, | 84 STATE_SEND_REQUEST_COMPLETE, |
85 STATE_READ_HEADERS, | 85 STATE_READ_HEADERS, |
86 STATE_READ_HEADERS_COMPLETE, | 86 STATE_READ_HEADERS_COMPLETE, |
| 87 STATE_RESOLVE_CANONICAL_NAME, |
| 88 STATE_RESOLVE_CANONICAL_NAME_COMPLETE, |
87 STATE_READ_BODY, | 89 STATE_READ_BODY, |
88 STATE_READ_BODY_COMPLETE, | 90 STATE_READ_BODY_COMPLETE, |
89 STATE_DRAIN_BODY_FOR_AUTH_RESTART, | 91 STATE_DRAIN_BODY_FOR_AUTH_RESTART, |
90 STATE_DRAIN_BODY_FOR_AUTH_RESTART_COMPLETE, | 92 STATE_DRAIN_BODY_FOR_AUTH_RESTART_COMPLETE, |
91 STATE_SPDY_SEND_REQUEST, | 93 STATE_SPDY_SEND_REQUEST, |
92 STATE_SPDY_SEND_REQUEST_COMPLETE, | 94 STATE_SPDY_SEND_REQUEST_COMPLETE, |
93 STATE_SPDY_READ_HEADERS, | 95 STATE_SPDY_READ_HEADERS, |
94 STATE_SPDY_READ_HEADERS_COMPLETE, | 96 STATE_SPDY_READ_HEADERS_COMPLETE, |
95 STATE_SPDY_READ_BODY, | 97 STATE_SPDY_READ_BODY, |
96 STATE_SPDY_READ_BODY_COMPLETE, | 98 STATE_SPDY_READ_BODY_COMPLETE, |
(...skipping 26 matching lines...) Expand all Loading... |
123 int DoResolveProxy(); | 125 int DoResolveProxy(); |
124 int DoResolveProxyComplete(int result); | 126 int DoResolveProxyComplete(int result); |
125 int DoInitConnection(); | 127 int DoInitConnection(); |
126 int DoInitConnectionComplete(int result); | 128 int DoInitConnectionComplete(int result); |
127 int DoSSLConnect(); | 129 int DoSSLConnect(); |
128 int DoSSLConnectComplete(int result); | 130 int DoSSLConnectComplete(int result); |
129 int DoSendRequest(); | 131 int DoSendRequest(); |
130 int DoSendRequestComplete(int result); | 132 int DoSendRequestComplete(int result); |
131 int DoReadHeaders(); | 133 int DoReadHeaders(); |
132 int DoReadHeadersComplete(int result); | 134 int DoReadHeadersComplete(int result); |
| 135 int DoResolveCanonicalName(); |
| 136 int DoResolveCanonicalNameComplete(int result); |
133 int DoReadBody(); | 137 int DoReadBody(); |
134 int DoReadBodyComplete(int result); | 138 int DoReadBodyComplete(int result); |
135 int DoDrainBodyForAuthRestart(); | 139 int DoDrainBodyForAuthRestart(); |
136 int DoDrainBodyForAuthRestartComplete(int result); | 140 int DoDrainBodyForAuthRestartComplete(int result); |
137 int DoSpdySendRequest(); | 141 int DoSpdySendRequest(); |
138 int DoSpdySendRequestComplete(int result); | 142 int DoSpdySendRequestComplete(int result); |
139 int DoSpdyReadHeaders(); | 143 int DoSpdyReadHeaders(); |
140 int DoSpdyReadHeadersComplete(int result); | 144 int DoSpdyReadHeadersComplete(int result); |
141 int DoSpdyReadBody(); | 145 int DoSpdyReadBody(); |
142 int DoSpdyReadBodyComplete(int result); | 146 int DoSpdyReadBodyComplete(int result); |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 // The time the DoSSLConnect() method was called (if it got called). | 369 // The time the DoSSLConnect() method was called (if it got called). |
366 base::TimeTicks ssl_connect_start_time_; | 370 base::TimeTicks ssl_connect_start_time_; |
367 | 371 |
368 // The next state in the state machine. | 372 // The next state in the state machine. |
369 State next_state_; | 373 State next_state_; |
370 }; | 374 }; |
371 | 375 |
372 } // namespace net | 376 } // namespace net |
373 | 377 |
374 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ | 378 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
OLD | NEW |