OLD | NEW |
---|---|
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/socket/tcp_client_socket_pool.h" | 5 #include "net/socket/tcp_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/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/threading/platform_thread.h" | 10 #include "base/threading/platform_thread.h" |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
252 const HostPortPair& host_and_port, | 252 const HostPortPair& host_and_port, |
253 const SSLConfig& ssl_config, | 253 const SSLConfig& ssl_config, |
254 SSLHostInfo* ssl_host_info, | 254 SSLHostInfo* ssl_host_info, |
255 CertVerifier* cert_verifier, | 255 CertVerifier* cert_verifier, |
256 DnsCertProvenanceChecker* dns_cert_checker) { | 256 DnsCertProvenanceChecker* dns_cert_checker) { |
257 NOTIMPLEMENTED(); | 257 NOTIMPLEMENTED(); |
258 delete ssl_host_info; | 258 delete ssl_host_info; |
259 return NULL; | 259 return NULL; |
260 } | 260 } |
261 | 261 |
262 virtual void ClearSSLSessionCache() {} | |
wtc
2011/02/24 22:49:37
Consider adding NOTIMPLEMENTED(). See the
CreateS
Ryan Hamilton
2011/02/24 23:38:35
Done.
| |
263 | |
262 int allocation_count() const { return allocation_count_; } | 264 int allocation_count() const { return allocation_count_; } |
263 | 265 |
264 // Set the default ClientSocketType. | 266 // Set the default ClientSocketType. |
265 void set_client_socket_type(ClientSocketType type) { | 267 void set_client_socket_type(ClientSocketType type) { |
266 client_socket_type_ = type; | 268 client_socket_type_ = type; |
267 } | 269 } |
268 | 270 |
269 // Set a list of ClientSocketTypes to be used. | 271 // Set a list of ClientSocketTypes to be used. |
270 void set_client_socket_types(ClientSocketType* type_list, int num_types) { | 272 void set_client_socket_types(ClientSocketType* type_list, int num_types) { |
271 DCHECK_GT(num_types, 0); | 273 DCHECK_GT(num_types, 0); |
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
904 EXPECT_FALSE(handle.socket()); | 906 EXPECT_FALSE(handle.socket()); |
905 handle.Reset(); | 907 handle.Reset(); |
906 | 908 |
907 // Reset for the next case. | 909 // Reset for the next case. |
908 host_resolver_->set_synchronous_mode(false); | 910 host_resolver_->set_synchronous_mode(false); |
909 } | 911 } |
910 | 912 |
911 } // namespace | 913 } // namespace |
912 | 914 |
913 } // namespace net | 915 } // namespace net |
OLD | NEW |