Index: net/socket/nss_ssl_util.h |
diff --git a/net/socket/nss_ssl_util.h b/net/socket/nss_ssl_util.h |
index 7b046ffd282aec5c1a066220fbd6580865cfe03b..8577926d0fefc3e508eb0d58466a4b243d2845dc 100644 |
--- a/net/socket/nss_ssl_util.h |
+++ b/net/socket/nss_ssl_util.h |
@@ -17,6 +17,7 @@ |
namespace net { |
class BoundNetLog; |
+struct SSLConfig; |
// Initalize NSS SSL library. |
NET_EXPORT void EnsureNSSSSLInit(); |
@@ -40,6 +41,12 @@ int MapNSSError(PRErrorCode err); |
NetLog::ParametersCallback CreateNetLogSSLErrorCallback(int net_error, |
int ssl_lib_error); |
+// Extracts various aspects of the connection status from the socket denoted |
+// by |nss_fd| and the |ssl_config| and updates the value at |
+// |ssl_connection_status| accordingly. |
+void UpdateSSLConnectionStatus(PRFileDesc* nss_fd, |
Ryan Sleevi
2015/03/19 04:38:24
I'm generally uneasy with moving this into a commo
|
+ const SSLConfig& ssl_config, |
+ int* ssl_connection_status); |
} // namespace net |