| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SSL_SERVER_SOCKET_H_ | 5 #ifndef NET_SOCKET_SSL_SERVER_SOCKET_H_ |
| 6 #define NET_SOCKET_SSL_SERVER_SOCKET_H_ | 6 #define NET_SOCKET_SSL_SERVER_SOCKET_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 10 #include "net/base/completion_callback.h" | 9 #include "net/base/completion_callback.h" |
| 11 #include "net/base/net_export.h" | 10 #include "net/base/net_export.h" |
| 12 #include "net/socket/ssl_socket.h" | 11 #include "net/socket/ssl_socket.h" |
| 13 #include "net/socket/stream_socket.h" | 12 #include "net/socket/stream_socket.h" |
| 14 | 13 |
| 15 namespace crypto { | 14 namespace crypto { |
| 16 class RSAPrivateKey; | 15 class RSAPrivateKey; |
| 17 } // namespace crypto | 16 } // namespace crypto |
| 18 | 17 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 // returned socket. | 54 // returned socket. |
| 56 NET_EXPORT scoped_ptr<SSLServerSocket> CreateSSLServerSocket( | 55 NET_EXPORT scoped_ptr<SSLServerSocket> CreateSSLServerSocket( |
| 57 scoped_ptr<StreamSocket> socket, | 56 scoped_ptr<StreamSocket> socket, |
| 58 X509Certificate* certificate, | 57 X509Certificate* certificate, |
| 59 crypto::RSAPrivateKey* key, | 58 crypto::RSAPrivateKey* key, |
| 60 const SSLServerConfig& ssl_config); | 59 const SSLServerConfig& ssl_config); |
| 61 | 60 |
| 62 } // namespace net | 61 } // namespace net |
| 63 | 62 |
| 64 #endif // NET_SOCKET_SSL_SERVER_SOCKET_H_ | 63 #endif // NET_SOCKET_SSL_SERVER_SOCKET_H_ |
| OLD | NEW |