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

Unified Diff: net/socket/nss_ssl_util_internal.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
Index: net/socket/nss_ssl_util_internal.h
diff --git a/net/socket/nss_ssl_util.h b/net/socket/nss_ssl_util_internal.h
similarity index 72%
copy from net/socket/nss_ssl_util.h
copy to net/socket/nss_ssl_util_internal.h
index 6c956610218ae91225ef20548e6f3b8134a3c5f0..c3bc774143f034132e480e0fb4d62bbd1c8ab3a8 100644
--- a/net/socket/nss_ssl_util.h
+++ b/net/socket/nss_ssl_util_internal.h
@@ -5,18 +5,18 @@
// This file is only included in ssl_client_socket_nss.cc and
// ssl_server_socket_nss.cc to share common functions of NSS.
-#ifndef NET_SOCKET_NSS_SSL_UTIL_H_
-#define NET_SOCKET_NSS_SSL_UTIL_H_
+#ifndef NET_SOCKET_NSS_SSL_UTIL_INTERNAL_H_
+#define NET_SOCKET_NSS_SSL_UTIL_INTERNAL_H_
#include <prerror.h>
+// These functions return a type defined in an NSS header, and so cannot be
+// declared in nss_util.h. Hence, they are declared here.
wtc 2012/06/12 18:27:38 nss_util.h => nss_ssl_util.h
+
namespace net {
class BoundNetLog;
-// Initalize NSS SSL library.
-void EnsureNSSSSLInit();
-
// Log a failed NSS funcion call.
void LogFailedNSSFunction(const BoundNetLog& net_log,
const char* function,
@@ -30,4 +30,4 @@ int MapNSSError(PRErrorCode err);
} // namespace net
-#endif // NET_SOCKET_NSS_SSL_UTIL_H_
+#endif // NET_SOCKET_NSS_SSL_UTIL_INTERNAL_H_

Powered by Google App Engine
This is Rietveld 408576698