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

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

Issue 422063004: Certificate Transparency: Require SCTs for EV certificates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed histogram enum names Created 6 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
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/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 session_deps_.deterministic_socket_factory.get()), 164 session_deps_.deterministic_socket_factory.get()),
165 ssl_histograms_("MockSSL"), 165 ssl_histograms_("MockSSL"),
166 ssl_socket_pool_(kMaxSockets, 166 ssl_socket_pool_(kMaxSockets,
167 kMaxSocketsPerGroup, 167 kMaxSocketsPerGroup,
168 &ssl_histograms_, 168 &ssl_histograms_,
169 session_deps_.host_resolver.get(), 169 session_deps_.host_resolver.get(),
170 session_deps_.cert_verifier.get(), 170 session_deps_.cert_verifier.get(),
171 NULL /* channel_id_store */, 171 NULL /* channel_id_store */,
172 NULL /* transport_security_state */, 172 NULL /* transport_security_state */,
173 NULL /* cert_transparency_verifier */, 173 NULL /* cert_transparency_verifier */,
174 NULL /* cert_policy_enforcer */,
174 std::string() /* ssl_session_cache_shard */, 175 std::string() /* ssl_session_cache_shard */,
175 session_deps_.deterministic_socket_factory.get(), 176 session_deps_.deterministic_socket_factory.get(),
176 &transport_socket_pool_, 177 &transport_socket_pool_,
177 NULL, 178 NULL,
178 NULL, 179 NULL,
179 session_deps_.ssl_config_service.get(), 180 session_deps_.ssl_config_service.get(),
180 false, 181 false,
181 BoundNetLog().net_log()), 182 BoundNetLog().net_log()),
182 session_(CreateNetworkSession()), 183 session_(CreateNetworkSession()),
183 http_proxy_histograms_("HttpProxyUnitTest"), 184 http_proxy_histograms_("HttpProxyUnitTest"),
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 EXPECT_TRUE(headers->IsRedirect(&location)); 842 EXPECT_TRUE(headers->IsRedirect(&location));
842 EXPECT_EQ(location, redirectTarget); 843 EXPECT_EQ(location, redirectTarget);
843 } 844 }
844 } 845 }
845 846
846 // It would be nice to also test the timeouts in HttpProxyClientSocketPool. 847 // It would be nice to also test the timeouts in HttpProxyClientSocketPool.
847 848
848 } // namespace 849 } // namespace
849 850
850 } // namespace net 851 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/http/http_stream_factory_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698