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

Unified Diff: net/socket/ssl_server_socket.h

Issue 1474983003: Support for client certs in ssl_server_socket. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nits on utils Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: net/socket/ssl_server_socket.h
diff --git a/net/socket/ssl_server_socket.h b/net/socket/ssl_server_socket.h
index ceb9c0a27a898f85e8d812611fc2c9da3cb58c96..64a5b5690ab00dd54bd77f10913a28622a36b8c9 100644
--- a/net/socket/ssl_server_socket.h
+++ b/net/socket/ssl_server_socket.h
@@ -5,6 +5,8 @@
#ifndef NET_SOCKET_SSL_SERVER_SOCKET_H_
#define NET_SOCKET_SSL_SERVER_SOCKET_H_
+#include <vector>
davidben 2015/12/14 23:56:49 Not used?
ryanchung 2015/12/16 22:40:01 Done.
+
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
#include "net/base/completion_callback.h"
@@ -48,8 +50,8 @@ NET_EXPORT void EnableSSLServerSockets();
// The returned SSLServerSocket takes ownership of |socket|. Stubbed versions
// of CreateSSLServerSocket will delete |socket| and return NULL.
// It takes a reference to |certificate|.
-// The |key| and |ssl_config| parameters are copied. |key| cannot be const
-// because the methods used to copy its contents are non-const.
+// The |key| and |ssl_server_config| parameters are copied. |key| cannot be
+// const because the methods used to copy its contents are non-const.
//
// The caller starts the SSL server handshake by calling Handshake on the
// returned socket.
@@ -57,7 +59,7 @@ NET_EXPORT scoped_ptr<SSLServerSocket> CreateSSLServerSocket(
scoped_ptr<StreamSocket> socket,
X509Certificate* certificate,
crypto::RSAPrivateKey* key,
- const SSLServerConfig& ssl_config);
+ const SSLServerConfig& ssl_server_config);
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698