Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(625)

Side by Side Diff: net/socket/ssl_server_socket.h

Issue 8525020: Cleanup: Remove unneeded forward declararations in net. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/socket/ssl_client_socket_pool.h ('k') | net/spdy/spdy_proxy_client_socket.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_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" 8 #include "base/basictypes.h"
9 #include "net/base/completion_callback.h" 9 #include "net/base/completion_callback.h"
10 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
11 #include "net/socket/stream_socket.h" 11 #include "net/socket/stream_socket.h"
12 12
13 namespace base { 13 namespace base {
14 class StringPiece; 14 class StringPiece;
15 } // namespace base 15 } // namespace base
16 16
17 namespace crypto { 17 namespace crypto {
18 class RSAPrivateKey; 18 class RSAPrivateKey;
19 } // namespace crypto 19 } // namespace crypto
20 20
21 namespace net { 21 namespace net {
22 22
23 class IOBuffer;
24 struct SSLConfig; 23 struct SSLConfig;
25 class X509Certificate; 24 class X509Certificate;
26 25
27 class SSLServerSocket : public StreamSocket { 26 class SSLServerSocket : public StreamSocket {
28 public: 27 public:
29 virtual ~SSLServerSocket() {} 28 virtual ~SSLServerSocket() {}
30 29
31 // Perform the SSL server handshake, and notify the supplied callback 30 // Perform the SSL server handshake, and notify the supplied callback
32 // if the process completes asynchronously. If Disconnect is called before 31 // if the process completes asynchronously. If Disconnect is called before
33 // completion then the callback will be silently, as for other StreamSocket 32 // completion then the callback will be silently, as for other StreamSocket
(...skipping 22 matching lines...) Expand all
56 // returned socket. 55 // returned socket.
57 NET_EXPORT SSLServerSocket* CreateSSLServerSocket( 56 NET_EXPORT SSLServerSocket* CreateSSLServerSocket(
58 StreamSocket* socket, 57 StreamSocket* socket,
59 X509Certificate* certificate, 58 X509Certificate* certificate,
60 crypto::RSAPrivateKey* key, 59 crypto::RSAPrivateKey* key,
61 const SSLConfig& ssl_config); 60 const SSLConfig& ssl_config);
62 61
63 } // namespace net 62 } // namespace net
64 63
65 #endif // NET_SOCKET_SSL_SERVER_SOCKET_H_ 64 #endif // NET_SOCKET_SSL_SERVER_SOCKET_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_pool.h ('k') | net/spdy/spdy_proxy_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698