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

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

Issue 12680003: net: split net/ssl out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 9 months 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_unittest.cc ('k') | net/socket/ssl_server_socket_unittest.cc » ('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) 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_NSS_H_ 5 #ifndef NET_SOCKET_SSL_SERVER_SOCKET_NSS_H_
6 #define NET_SOCKET_SSL_SERVER_SOCKET_NSS_H_ 6 #define NET_SOCKET_SSL_SERVER_SOCKET_NSS_H_
7 7
8 #include <certt.h> 8 #include <certt.h>
9 #include <keyt.h> 9 #include <keyt.h>
10 #include <nspr.h> 10 #include <nspr.h>
11 #include <nss.h> 11 #include <nss.h>
12 12
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "net/base/completion_callback.h" 14 #include "net/base/completion_callback.h"
15 #include "net/base/host_port_pair.h" 15 #include "net/base/host_port_pair.h"
16 #include "net/base/net_log.h" 16 #include "net/base/net_log.h"
17 #include "net/base/nss_memio.h" 17 #include "net/base/nss_memio.h"
18 #include "net/base/ssl_config_service.h"
19 #include "net/socket/ssl_server_socket.h" 18 #include "net/socket/ssl_server_socket.h"
19 #include "net/ssl/ssl_config_service.h"
20 20
21 namespace net { 21 namespace net {
22 22
23 class SSLServerSocketNSS : public SSLServerSocket { 23 class SSLServerSocketNSS : public SSLServerSocket {
24 public: 24 public:
25 // See comments on CreateSSLServerSocket for details of how these 25 // See comments on CreateSSLServerSocket for details of how these
26 // parameters are used. 26 // parameters are used.
27 SSLServerSocketNSS(StreamSocket* socket, 27 SSLServerSocketNSS(StreamSocket* socket,
28 scoped_refptr<X509Certificate> certificate, 28 scoped_refptr<X509Certificate> certificate,
29 crypto::RSAPrivateKey* key, 29 crypto::RSAPrivateKey* key,
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 143
144 State next_handshake_state_; 144 State next_handshake_state_;
145 bool completed_handshake_; 145 bool completed_handshake_;
146 146
147 DISALLOW_COPY_AND_ASSIGN(SSLServerSocketNSS); 147 DISALLOW_COPY_AND_ASSIGN(SSLServerSocketNSS);
148 }; 148 };
149 149
150 } // namespace net 150 } // namespace net
151 151
152 #endif // NET_SOCKET_SSL_SERVER_SOCKET_NSS_H_ 152 #endif // NET_SOCKET_SSL_SERVER_SOCKET_NSS_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_unittest.cc ('k') | net/socket/ssl_server_socket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698