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

Unified Diff: net/socket/nss_ssl_util.h

Issue 494913002: Include better OpenSSL error information in NetLog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: inline pod ctor Created 6 years, 4 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/net.gypi ('k') | net/socket/nss_ssl_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « net/net.gypi ('k') | net/socket/nss_ssl_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698