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

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

Issue 17028007: Merge the HttpNetworkTransaction tests and parametrize them on a NextProto (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « no previous file | net/http/http_network_transaction_spdy2_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) 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 virtual void OnNeedsClientAuth(const SSLConfig& used_ssl_config, 82 virtual void OnNeedsClientAuth(const SSLConfig& used_ssl_config,
83 SSLCertRequestInfo* cert_info) OVERRIDE; 83 SSLCertRequestInfo* cert_info) OVERRIDE;
84 virtual void OnHttpsProxyTunnelResponse(const HttpResponseInfo& response_info, 84 virtual void OnHttpsProxyTunnelResponse(const HttpResponseInfo& response_info,
85 const SSLConfig& used_ssl_config, 85 const SSLConfig& used_ssl_config,
86 const ProxyInfo& used_proxy_info, 86 const ProxyInfo& used_proxy_info,
87 HttpStreamBase* stream) OVERRIDE; 87 HttpStreamBase* stream) OVERRIDE;
88 88
89 private: 89 private:
90 friend class HttpNetworkTransactionSSLTest; 90 friend class HttpNetworkTransactionSSLTest;
91 91
92 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionSpdy2Test, 92 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionTest,
93 ResetStateForRestart); 93 ResetStateForRestart);
94 FRIEND_TEST_ALL_PREFIXES(HttpNetworkTransactionSpdy3Test, 94 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest,
95 ResetStateForRestart);
96 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy2Test,
97 WindowUpdateReceived); 95 WindowUpdateReceived);
98 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy2Test, 96 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest,
99 WindowUpdateSent); 97 WindowUpdateSent);
100 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy2Test, 98 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest,
101 WindowUpdateOverflow); 99 WindowUpdateOverflow);
102 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy2Test, 100 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionTest,
103 FlowControlStallResume); 101 FlowControlStallResume);
104 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test, 102 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test,
105 WindowUpdateReceived); 103 WindowUpdateReceived);
106 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test, 104 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test,
107 WindowUpdateSent); 105 WindowUpdateSent);
108 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test, 106 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test,
109 WindowUpdateOverflow); 107 WindowUpdateOverflow);
110 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test, 108 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test,
111 FlowControlStallResume); 109 FlowControlStallResume);
112 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test, 110 FRIEND_TEST_ALL_PREFIXES(SpdyNetworkTransactionSpdy3Test,
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 // True when the tunnel is in the process of being established - we can't 305 // True when the tunnel is in the process of being established - we can't
308 // read from the socket until the tunnel is done. 306 // read from the socket until the tunnel is done.
309 bool establishing_tunnel_; 307 bool establishing_tunnel_;
310 308
311 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); 309 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction);
312 }; 310 };
313 311
314 } // namespace net 312 } // namespace net
315 313
316 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ 314 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
OLDNEW
« no previous file with comments | « no previous file | net/http/http_network_transaction_spdy2_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698