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

Unified Diff: net/socket/nss_ssl_util.h

Issue 10543106: Add an explicit function to init NSS for SSL server sockets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile fix Created 8 years, 6 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 | « no previous file | net/socket/nss_ssl_util.cc » ('j') | net/socket/nss_ssl_util_internal.h » ('J')
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 6c956610218ae91225ef20548e6f3b8134a3c5f0..637406fd94b91a105257b401621f87b1bacc44b9 100644
--- a/net/socket/nss_ssl_util.h
+++ b/net/socket/nss_ssl_util.h
@@ -8,25 +8,15 @@
#ifndef NET_SOCKET_NSS_SSL_UTIL_H_
#define NET_SOCKET_NSS_SSL_UTIL_H_
-#include <prerror.h>
+#include "net/base/net_export.h"
namespace net {
-class BoundNetLog;
-
-// Initalize NSS SSL library.
+// Initialize NSS SSL library.
Wez 2012/06/12 17:27:13 Can you clarify what level of initialization this
Ryan Sleevi 2012/06/12 17:45:29 Yup. We've had the style discussion as to whether
void EnsureNSSSSLInit();
-// Log a failed NSS funcion call.
-void LogFailedNSSFunction(const BoundNetLog& net_log,
- const char* function,
- const char* param);
-
-// Map network error code to NSS error code.
-PRErrorCode MapErrorToNSS(int result);
-
-// Map NSS error code to network error code.
-int MapNSSError(PRErrorCode err);
+// Initialize NSS SSL server sockets support.
wtc 2012/06/12 18:27:38 We should document why this needs to be initialize
+NET_EXPORT void EnsureNSSSSLServerInit();
} // namespace net
« no previous file with comments | « no previous file | net/socket/nss_ssl_util.cc » ('j') | net/socket/nss_ssl_util_internal.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698