Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: net/http/http_network_transaction.h

Issue 9582034: Fork SPDY/2 and SPDY/3 versions of our SPDY tests, in preparation for landing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix merge bug Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/base/upload_data.h ('k') | net/http/http_network_transaction_spdy21_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 const ProxyInfo& used_proxy_info, 78 const ProxyInfo& used_proxy_info,
79 HttpAuthController* auth_controller) OVERRIDE; 79 HttpAuthController* auth_controller) OVERRIDE;
80 virtual void OnNeedsClientAuth(const SSLConfig& used_ssl_config, 80 virtual void OnNeedsClientAuth(const SSLConfig& used_ssl_config,
81 SSLCertRequestInfo* cert_info) OVERRIDE; 81 SSLCertRequestInfo* cert_info) OVERRIDE;
82 virtual void OnHttpsProxyTunnelResponse(const HttpResponseInfo& response_info, 82 virtual void OnHttpsProxyTunnelResponse(const HttpResponseInfo& response_info,
83 const SSLConfig& used_ssl_config, 83 const SSLConfig& used_ssl_config,
84 const ProxyInfo& used_proxy_info, 84 const ProxyInfo& used_proxy_info,
85 HttpStream* stream) OVERRIDE; 85 HttpStream* stream) OVERRIDE;
86 86
87 private: 87 private:
88 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionTest, ResetStateForRestart); 88 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionSpdy2Test,
89 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, WindowUpdateReceived); 89 ResetStateForRestart);
90 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, WindowUpdateSent); 90 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionSpdy21Test,
91 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, WindowUpdateOverflow); 91 ResetStateForRestart);
92 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest, FlowControlStallResume); 92 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionSpdy3Test,
93 ResetStateForRestart);
94 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy2Test,
95 WindowUpdateReceived);
96 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy2Test,
97 WindowUpdateSent);
98 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy2Test,
99 WindowUpdateOverflow);
100 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy2Test,
101 FlowControlStallResume);
102 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy21Test,
103 WindowUpdateReceived);
104 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy21Test,
105 WindowUpdateSent);
106 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy21Test,
107 WindowUpdateOverflow);
108 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy21Test,
109 FlowControlStallResume);
110 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test,
111 WindowUpdateReceived);
112 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test,
113 WindowUpdateSent);
114 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test,
115 WindowUpdateOverflow);
116 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test,
117 FlowControlStallResume);
93 118
94 enum State { 119 enum State {
95 STATE_CREATE_STREAM, 120 STATE_CREATE_STREAM,
96 STATE_CREATE_STREAM_COMPLETE, 121 STATE_CREATE_STREAM_COMPLETE,
97 STATE_INIT_STREAM, 122 STATE_INIT_STREAM,
98 STATE_INIT_STREAM_COMPLETE, 123 STATE_INIT_STREAM_COMPLETE,
99 STATE_GENERATE_PROXY_AUTH_TOKEN, 124 STATE_GENERATE_PROXY_AUTH_TOKEN,
100 STATE_GENERATE_PROXY_AUTH_TOKEN_COMPLETE, 125 STATE_GENERATE_PROXY_AUTH_TOKEN_COMPLETE,
101 STATE_GENERATE_SERVER_AUTH_TOKEN, 126 STATE_GENERATE_SERVER_AUTH_TOKEN,
102 STATE_GENERATE_SERVER_AUTH_TOKEN_COMPLETE, 127 STATE_GENERATE_SERVER_AUTH_TOKEN_COMPLETE,
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 // True when the tunnel is in the process of being established - we can't 300 // True when the tunnel is in the process of being established - we can't
276 // read from the socket until the tunnel is done. 301 // read from the socket until the tunnel is done.
277 bool establishing_tunnel_; 302 bool establishing_tunnel_;
278 303
279 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); 304 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction);
280 }; 305 };
281 306
282 } // namespace net 307 } // namespace net
283 308
284 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ 309 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
OLDNEW
« no previous file with comments | « net/base/upload_data.h ('k') | net/http/http_network_transaction_spdy21_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698