Index: base/nss_util.h |
diff --git a/base/nss_util.h b/base/nss_util.h |
index 2b0139e509b2ea807ba63728e571b75aae3892e4..10bbdfb41eb734f6f80ab104cf45cb87cb5fcd53 100644 |
--- a/base/nss_util.h |
+++ b/base/nss_util.h |
@@ -20,6 +20,13 @@ namespace base { |
class Lock; |
class Time; |
+#if defined(USE_NSS) |
+// EarlySetupForNSSInit performs lightweight setup which must occur before the |
+// process goes multithreaded. This does not initialise NSS. For test, see |
+// EnsureNSSInit. |
+void EarlySetupForNSSInit(); |
+#endif |
+ |
// Initialize NRPR if it isn't already initialized. This function is |
// thread-safe, and NSPR will only ever be initialized once. NSPR will be |
// properly shut down on program exit. |