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..c4817c82c95eaab783c71fde44bc06110c437135 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 |
+ // uses OpenSSL. Must be called before SSLClientSockets are created. |
+ 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); |