Index: net/socket/nss_ssl_util.h |
diff --git a/net/socket/nss_ssl_util.h b/net/socket/nss_ssl_util.h |
index 3aed7bf6b4a896173e30e1ad032803fe0796f0e6..7b046ffd282aec5c1a066220fbd6580865cfe03b 100644 |
--- a/net/socket/nss_ssl_util.h |
+++ b/net/socket/nss_ssl_util.h |
@@ -12,6 +12,7 @@ |
#include <prio.h> |
#include "net/base/net_export.h" |
+#include "net/base/net_log.h" |
namespace net { |
@@ -35,6 +36,11 @@ PRFileDesc* GetNSSModelSocket(); |
// Map NSS error code to network error code. |
int MapNSSError(PRErrorCode err); |
+// Creates a NetLog callback for an SSL error. |
+NetLog::ParametersCallback CreateNetLogSSLErrorCallback(int net_error, |
+ int ssl_lib_error); |
+ |
+ |
} // namespace net |
#endif // NET_SOCKET_NSS_SSL_UTIL_H_ |