| Index: net/http/http_network_transaction.h
|
| ===================================================================
|
| --- net/http/http_network_transaction.h (revision 54962)
|
| +++ net/http/http_network_transaction.h (working copy)
|
| @@ -36,7 +36,7 @@
|
| class HttpNetworkSession;
|
| class HttpRequestHeaders;
|
| class HttpStream;
|
| -class SpdySession;
|
| +class SpdyHttpStream;
|
|
|
| class HttpNetworkTransaction : public HttpTransaction {
|
| public:
|
| @@ -91,8 +91,6 @@
|
| STATE_RESOLVE_PROXY_COMPLETE,
|
| STATE_INIT_CONNECTION,
|
| STATE_INIT_CONNECTION_COMPLETE,
|
| - STATE_INIT_STREAM,
|
| - STATE_INIT_STREAM_COMPLETE,
|
| STATE_RESTART_TUNNEL_AUTH,
|
| STATE_RESTART_TUNNEL_AUTH_COMPLETE,
|
| STATE_GENERATE_PROXY_AUTH_TOKEN,
|
| @@ -107,6 +105,14 @@
|
| STATE_READ_BODY_COMPLETE,
|
| STATE_DRAIN_BODY_FOR_AUTH_RESTART,
|
| STATE_DRAIN_BODY_FOR_AUTH_RESTART_COMPLETE,
|
| + STATE_SPDY_GET_STREAM,
|
| + STATE_SPDY_GET_STREAM_COMPLETE,
|
| + STATE_SPDY_SEND_REQUEST,
|
| + STATE_SPDY_SEND_REQUEST_COMPLETE,
|
| + STATE_SPDY_READ_HEADERS,
|
| + STATE_SPDY_READ_HEADERS_COMPLETE,
|
| + STATE_SPDY_READ_BODY,
|
| + STATE_SPDY_READ_BODY_COMPLETE,
|
| STATE_NONE
|
| };
|
|
|
| @@ -130,8 +136,6 @@
|
| int DoResolveProxyComplete(int result);
|
| int DoInitConnection();
|
| int DoInitConnectionComplete(int result);
|
| - int DoInitStream();
|
| - int DoInitStreamComplete(int result);
|
| int DoRestartTunnelAuth();
|
| int DoRestartTunnelAuthComplete(int result);
|
| int DoGenerateProxyAuthToken();
|
| @@ -146,6 +150,14 @@
|
| int DoReadBodyComplete(int result);
|
| int DoDrainBodyForAuthRestart();
|
| int DoDrainBodyForAuthRestartComplete(int result);
|
| + int DoSpdyGetStream();
|
| + int DoSpdyGetStreamComplete(int result);
|
| + int DoSpdySendRequest();
|
| + int DoSpdySendRequestComplete(int result);
|
| + int DoSpdyReadHeaders();
|
| + int DoSpdyReadHeadersComplete(int result);
|
| + int DoSpdyReadBody();
|
| + int DoSpdyReadBodyComplete(int result);
|
|
|
| // Record histograms of latency until Connect() completes.
|
| static void LogHttpConnectedMetrics(const ClientSocketHandle& handle);
|
| @@ -265,8 +277,8 @@
|
| ProxyInfo proxy_info_;
|
|
|
| scoped_ptr<ClientSocketHandle> connection_;
|
| - scoped_ptr<HttpStream> stream_;
|
| - scoped_refptr<SpdySession> spdy_session_;
|
| + scoped_ptr<HttpStream> http_stream_;
|
| + scoped_ptr<SpdyHttpStream> spdy_http_stream_;
|
| bool reused_socket_;
|
|
|
| // True if we've validated the headers that the stream parser has returned.
|
|
|