| 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/socket/datagram_socket.h" |
| 13 #include "net/socket/socket_performance_watcher.h" | 14 #include "net/socket/socket_performance_watcher.h" |
| 14 #include "net/udp/datagram_socket.h" | |
| 15 | 15 |
| 16 namespace net { | 16 namespace net { |
| 17 | 17 |
| 18 class AddressList; | 18 class AddressList; |
| 19 class ClientSocketHandle; | 19 class ClientSocketHandle; |
| 20 class DatagramClientSocket; | 20 class DatagramClientSocket; |
| 21 class HostPortPair; | 21 class HostPortPair; |
| 22 class NetLog; | 22 class NetLog; |
| 23 struct NetLogSource; | 23 struct NetLogSource; |
| 24 class SSLClientSocket; | 24 class SSLClientSocket; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 // Clears cache used for SSL session resumption. | 58 // Clears cache used for SSL session resumption. |
| 59 virtual void ClearSSLSessionCache() = 0; | 59 virtual void ClearSSLSessionCache() = 0; |
| 60 | 60 |
| 61 // Returns the default ClientSocketFactory. | 61 // Returns the default ClientSocketFactory. |
| 62 static ClientSocketFactory* GetDefaultFactory(); | 62 static ClientSocketFactory* GetDefaultFactory(); |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace net | 65 } // namespace net |
| 66 | 66 |
| 67 #endif // NET_SOCKET_CLIENT_SOCKET_FACTORY_H_ | 67 #endif // NET_SOCKET_CLIENT_SOCKET_FACTORY_H_ |
| OLD | NEW |