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

Unified Diff: net/socket/ssl_client_socket.cc

Issue 1403863002: Enable exporting SSLKEYLOGFILE on Android w/ command line arguments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/socket/ssl_client_socket.h ('k') | net/socket/ssl_client_socket_openssl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket.cc
diff --git a/net/socket/ssl_client_socket.cc b/net/socket/ssl_client_socket.cc
index 3472fd023f2aae650c253a8212de8c533dbc5c55..34431e4973722818ea222cc18fa48b85fb41bb6e 100644
--- a/net/socket/ssl_client_socket.cc
+++ b/net/socket/ssl_client_socket.cc
@@ -15,6 +15,10 @@
#include "net/ssl/ssl_config_service.h"
#include "net/ssl/ssl_connection_status_flags.h"
+#if defined(USE_OPENSSL)
+#include "net/socket/ssl_client_socket_openssl.h"
+#endif
+
namespace net {
SSLClientSocket::SSLClientSocket()
@@ -78,6 +82,15 @@ const char* SSLClientSocket::NextProtoStatusToString(
return NULL;
}
+// static
+void SSLClientSocket::SetSSLKeyLogFile(const std::string& ssl_keylog_file) {
+#if defined(USE_OPENSSL)
+ SSLClientSocketOpenSSL::SetSSLKeyLogFile(ssl_keylog_file);
+#else
+ NOTIMPLEMENTED();
+#endif
+}
+
bool SSLClientSocket::WasNpnNegotiated() const {
std::string unused_proto;
return GetNextProto(&unused_proto) == kNextProtoNegotiated;
« no previous file with comments | « net/socket/ssl_client_socket.h ('k') | net/socket/ssl_client_socket_openssl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698