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

Unified Diff: net/socket/ssl_client_socket.h

Issue 1403863002: Enable exporting SSLKEYLOGFILE on Android w/ command line arguments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wrapping up 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
Index: net/socket/ssl_client_socket.h
diff --git a/net/socket/ssl_client_socket.h b/net/socket/ssl_client_socket.h
index 1d38048d0c6bdcf7c6667675a492a9f9929a7616..d61a464c6e99f339029472ceb400a0ea78e7e3d0 100644
--- a/net/socket/ssl_client_socket.h
+++ b/net/socket/ssl_client_socket.h
@@ -114,6 +114,10 @@ class NET_EXPORT SSLClientSocket : public SSLSocket {
static const char* NextProtoStatusToString(const NextProtoStatus status);
+ // Export SSL key material to be logged to the specified file if platform
+ // supports OPENSSL. Must be called before SSLClientSockets are created.
davidben 2015/10/15 19:08:23 Nit: supports OPENSSL -> uses OpenSSL
Zhongyi Shi 2015/10/15 19:47:57 Done.
+ static void SetSSLKeyLogFile(const std::string& ssl_keylog_file);
+
// Returns true if |error| is OK or |load_flags| ignores certificate errors
// and |error| is a certificate error.
static bool IgnoreCertError(int error, int load_flags);

Powered by Google App Engine
This is Rietveld 408576698