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

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

Issue 9617039: Change Origin bound certs -> Domain bound certs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 kMaxSockets, kMaxSocketsPerGroup, 62 kMaxSockets, kMaxSocketsPerGroup,
63 &tcp_histograms_, 63 &tcp_histograms_,
64 &socket_factory_), 64 &socket_factory_),
65 ssl_histograms_("MockSSL"), 65 ssl_histograms_("MockSSL"),
66 proxy_service_(ProxyService::CreateDirect()), 66 proxy_service_(ProxyService::CreateDirect()),
67 ssl_config_service_(new SSLConfigServiceDefaults), 67 ssl_config_service_(new SSLConfigServiceDefaults),
68 ssl_socket_pool_(kMaxSockets, kMaxSocketsPerGroup, 68 ssl_socket_pool_(kMaxSockets, kMaxSocketsPerGroup,
69 &ssl_histograms_, 69 &ssl_histograms_,
70 &host_resolver_, 70 &host_resolver_,
71 &cert_verifier_, 71 &cert_verifier_,
72 NULL /* origin_bound_cert_store */, 72 NULL /* server_bound_cert_store */,
73 NULL /* transport_security_state */, 73 NULL /* transport_security_state */,
74 NULL /* ssl_host_info_factory */, 74 NULL /* ssl_host_info_factory */,
75 "" /* ssl_session_cache_shard */, 75 "" /* ssl_session_cache_shard */,
76 &socket_factory_, 76 &socket_factory_,
77 &transport_socket_pool_, 77 &transport_socket_pool_,
78 NULL, 78 NULL,
79 NULL, 79 NULL,
80 ssl_config_service_.get(), 80 ssl_config_service_.get(),
81 BoundNetLog().net_log()), 81 BoundNetLog().net_log()),
82 http_auth_handler_factory_( 82 http_auth_handler_factory_(
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 // HTTPS or SPDY Proxy CONNECT responses are trustworthy 532 // HTTPS or SPDY Proxy CONNECT responses are trustworthy
533 EXPECT_EQ(ERR_HTTPS_PROXY_TUNNEL_RESPONSE, rv); 533 EXPECT_EQ(ERR_HTTPS_PROXY_TUNNEL_RESPONSE, rv);
534 EXPECT_TRUE(handle_.is_initialized()); 534 EXPECT_TRUE(handle_.is_initialized());
535 EXPECT_TRUE(handle_.socket()); 535 EXPECT_TRUE(handle_.socket());
536 } 536 }
537 } 537 }
538 538
539 // It would be nice to also test the timeouts in HttpProxyClientSocketPool. 539 // It would be nice to also test the timeouts in HttpProxyClientSocketPool.
540 540
541 } // namespace net 541 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_proxy_client_socket_pool_spdy2_unittest.cc ('k') | net/socket/client_socket_pool_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698