| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 12 #include "net/base/net_export.h" | 11 #include "net/base/net_export.h" |
| 13 #include "net/base/rand_callback.h" | 12 #include "net/base/rand_callback.h" |
| 14 #include "net/log/net_log.h" | 13 #include "net/log/net_log.h" |
| 15 #include "net/udp/datagram_socket.h" | 14 #include "net/udp/datagram_socket.h" |
| 16 | 15 |
| 17 namespace net { | 16 namespace net { |
| 18 | 17 |
| 19 class AddressList; | 18 class AddressList; |
| 20 class ClientSocketHandle; | 19 class ClientSocketHandle; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 // Clears cache used for SSL session resumption. | 55 // Clears cache used for SSL session resumption. |
| 57 virtual void ClearSSLSessionCache() = 0; | 56 virtual void ClearSSLSessionCache() = 0; |
| 58 | 57 |
| 59 // Returns the default ClientSocketFactory. | 58 // Returns the default ClientSocketFactory. |
| 60 static ClientSocketFactory* GetDefaultFactory(); | 59 static ClientSocketFactory* GetDefaultFactory(); |
| 61 }; | 60 }; |
| 62 | 61 |
| 63 } // namespace net | 62 } // namespace net |
| 64 | 63 |
| 65 #endif // NET_SOCKET_CLIENT_SOCKET_FACTORY_H_ | 64 #endif // NET_SOCKET_CLIENT_SOCKET_FACTORY_H_ |
| OLD | NEW |