| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/mock_client_socket_pool_manager.h" | 5 #include "net/socket/mock_client_socket_pool_manager.h" |
| 6 | 6 |
| 7 #include "net/http/http_proxy_client_socket_pool.h" | 7 #include "net/http/http_proxy_client_socket_pool.h" |
| 8 #include "net/socket/socks_client_socket_pool.h" | 8 #include "net/socket/socks_client_socket_pool.h" |
| 9 #include "net/socket/ssl_client_socket_pool.h" | 9 #include "net/socket/ssl_client_socket_pool.h" |
| 10 #include "net/socket/transport_client_socket_pool.h" | 10 #include "net/socket/transport_client_socket_pool.h" |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 | 79 |
| 80 SSLClientSocketPool* MockClientSocketPoolManager::GetSocketPoolForSSLWithProxy( | 80 SSLClientSocketPool* MockClientSocketPoolManager::GetSocketPoolForSSLWithProxy( |
| 81 const HostPortPair& proxy_server) { | 81 const HostPortPair& proxy_server) { |
| 82 SSLSocketPoolMap::const_iterator it = | 82 SSLSocketPoolMap::const_iterator it = |
| 83 ssl_socket_pools_for_proxies_.find(proxy_server); | 83 ssl_socket_pools_for_proxies_.find(proxy_server); |
| 84 if (it != ssl_socket_pools_for_proxies_.end()) | 84 if (it != ssl_socket_pools_for_proxies_.end()) |
| 85 return it->second; | 85 return it->second; |
| 86 return NULL; | 86 return NULL; |
| 87 } | 87 } |
| 88 | 88 |
| 89 Value* MockClientSocketPoolManager::SocketPoolInfoToValue() const { | 89 base::Value* MockClientSocketPoolManager::SocketPoolInfoToValue() const { |
| 90 NOTIMPLEMENTED(); | 90 NOTIMPLEMENTED(); |
| 91 return NULL; | 91 return NULL; |
| 92 } | 92 } |
| 93 | 93 |
| 94 } // namespace net | 94 } // namespace net |
| OLD | NEW |