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

Side by Side Diff: net/http/http_proxy_client_socket_pool_spdy2_unittest.cc

Issue 11415219: Move a number of static variables SPDY to HttpNetworkSession::Params. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix flip_in_mem_edsm_server Created 8 years 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
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 #include "net/http/http_proxy_client_socket_pool.h" 5 #include "net/http/http_proxy_client_socket_pool.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 scoped_refptr<SSLSocketParams> ignored_ssl_socket_params_; 183 scoped_refptr<SSLSocketParams> ignored_ssl_socket_params_;
184 ClientSocketPoolHistograms tcp_histograms_; 184 ClientSocketPoolHistograms tcp_histograms_;
185 MockTransportClientSocketPool transport_socket_pool_; 185 MockTransportClientSocketPool transport_socket_pool_;
186 ClientSocketPoolHistograms ssl_histograms_; 186 ClientSocketPoolHistograms ssl_histograms_;
187 MockHostResolver host_resolver_; 187 MockHostResolver host_resolver_;
188 scoped_ptr<CertVerifier> cert_verifier_; 188 scoped_ptr<CertVerifier> cert_verifier_;
189 SSLClientSocketPool ssl_socket_pool_; 189 SSLClientSocketPool ssl_socket_pool_;
190 190
191 const scoped_refptr<HttpNetworkSession> session_; 191 const scoped_refptr<HttpNetworkSession> session_;
192 ClientSocketPoolHistograms http_proxy_histograms_; 192 ClientSocketPoolHistograms http_proxy_histograms_;
193 SpdyTestStateHelper spdy_state_;
194 193
195 protected: 194 protected:
196 scoped_ptr<SSLSocketDataProvider> ssl_data_; 195 scoped_ptr<SSLSocketDataProvider> ssl_data_;
197 scoped_ptr<DeterministicSocketData> data_; 196 scoped_ptr<DeterministicSocketData> data_;
198 HttpProxyClientSocketPool pool_; 197 HttpProxyClientSocketPool pool_;
199 ClientSocketHandle handle_; 198 ClientSocketHandle handle_;
200 TestCompletionCallback callback_; 199 TestCompletionCallback callback_;
201 }; 200 };
202 201
203 //----------------------------------------------------------------------------- 202 //-----------------------------------------------------------------------------
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 // Make sure Location header was included and correct. 589 // Make sure Location header was included and correct.
591 std::string location; 590 std::string location;
592 EXPECT_TRUE(headers->IsRedirect(&location)); 591 EXPECT_TRUE(headers->IsRedirect(&location));
593 EXPECT_EQ(location, redirectTarget); 592 EXPECT_EQ(location, redirectTarget);
594 } 593 }
595 } 594 }
596 595
597 // It would be nice to also test the timeouts in HttpProxyClientSocketPool. 596 // It would be nice to also test the timeouts in HttpProxyClientSocketPool.
598 597
599 } // namespace net 598 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_network_transaction_spdy3_unittest.cc ('k') | net/http/http_proxy_client_socket_pool_spdy3_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698