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

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

Issue 1579233002: Rename CertPolicyEnforcer to CTPolicyEnforcer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/http/http_stream_factory_impl_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 #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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 : session_deps_(GetParam().protocol), 161 : session_deps_(GetParam().protocol),
162 transport_socket_pool_(kMaxSockets, 162 transport_socket_pool_(kMaxSockets,
163 kMaxSocketsPerGroup, 163 kMaxSocketsPerGroup,
164 session_deps_.socket_factory.get()), 164 session_deps_.socket_factory.get()),
165 ssl_socket_pool_(kMaxSockets, 165 ssl_socket_pool_(kMaxSockets,
166 kMaxSocketsPerGroup, 166 kMaxSocketsPerGroup,
167 session_deps_.cert_verifier.get(), 167 session_deps_.cert_verifier.get(),
168 NULL /* channel_id_store */, 168 NULL /* channel_id_store */,
169 NULL /* transport_security_state */, 169 NULL /* transport_security_state */,
170 NULL /* cert_transparency_verifier */, 170 NULL /* cert_transparency_verifier */,
171 NULL /* cert_policy_enforcer */, 171 NULL /* ct_policy_enforcer */,
172 std::string() /* ssl_session_cache_shard */, 172 std::string() /* ssl_session_cache_shard */,
173 session_deps_.socket_factory.get(), 173 session_deps_.socket_factory.get(),
174 &transport_socket_pool_, 174 &transport_socket_pool_,
175 NULL, 175 NULL,
176 NULL, 176 NULL,
177 session_deps_.ssl_config_service.get(), 177 session_deps_.ssl_config_service.get(),
178 BoundNetLog().net_log()), 178 BoundNetLog().net_log()),
179 session_(CreateNetworkSession()), 179 session_(CreateNetworkSession()),
180 spdy_util_(GetParam().protocol, GetParam().priority_to_dependency), 180 spdy_util_(GetParam().protocol, GetParam().priority_to_dependency),
181 pool_(kMaxSockets, 181 pool_(kMaxSockets,
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
821 // Make sure Location header was included and correct. 821 // Make sure Location header was included and correct.
822 std::string location; 822 std::string location;
823 EXPECT_TRUE(headers->IsRedirect(&location)); 823 EXPECT_TRUE(headers->IsRedirect(&location));
824 EXPECT_EQ(location, redirectTarget); 824 EXPECT_EQ(location, redirectTarget);
825 } 825 }
826 } 826 }
827 827
828 // It would be nice to also test the timeouts in HttpProxyClientSocketPool. 828 // It would be nice to also test the timeouts in HttpProxyClientSocketPool.
829 829
830 } // namespace net 830 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_network_session.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