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 #ifndef NET_SOCKET_CLIENT_SOCKET_FACTORY_H_ | 5 #ifndef NET_SOCKET_CLIENT_SOCKET_FACTORY_H_ |
6 #define NET_SOCKET_CLIENT_SOCKET_FACTORY_H_ | 6 #define NET_SOCKET_CLIENT_SOCKET_FACTORY_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "net/base/net_export.h" | 11 #include "net/base/net_export.h" |
12 #include "net/base/rand_callback.h" | 12 #include "net/base/rand_callback.h" |
13 #include "net/base/socket_performance_watcher.h" | |
14 #include "net/log/net_log.h" | 13 #include "net/log/net_log.h" |
| 14 #include "net/socket/socket_performance_watcher.h" |
15 #include "net/udp/datagram_socket.h" | 15 #include "net/udp/datagram_socket.h" |
16 | 16 |
17 namespace net { | 17 namespace net { |
18 | 18 |
19 class AddressList; | 19 class AddressList; |
20 class ClientSocketHandle; | 20 class ClientSocketHandle; |
21 class DatagramClientSocket; | 21 class DatagramClientSocket; |
22 class HostPortPair; | 22 class HostPortPair; |
23 class SSLClientSocket; | 23 class SSLClientSocket; |
24 struct SSLClientSocketContext; | 24 struct SSLClientSocketContext; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // Clears cache used for SSL session resumption. | 57 // Clears cache used for SSL session resumption. |
58 virtual void ClearSSLSessionCache() = 0; | 58 virtual void ClearSSLSessionCache() = 0; |
59 | 59 |
60 // Returns the default ClientSocketFactory. | 60 // Returns the default ClientSocketFactory. |
61 static ClientSocketFactory* GetDefaultFactory(); | 61 static ClientSocketFactory* GetDefaultFactory(); |
62 }; | 62 }; |
63 | 63 |
64 } // namespace net | 64 } // namespace net |
65 | 65 |
66 #endif // NET_SOCKET_CLIENT_SOCKET_FACTORY_H_ | 66 #endif // NET_SOCKET_CLIENT_SOCKET_FACTORY_H_ |
OLD | NEW |