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

Unified Diff: base/nss_util.h

Issue 6185005: NSS: don't set environment variables when multi-threaded. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 | base/nss_util.cc » ('j') | base/nss_util.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/nss_util.h
diff --git a/base/nss_util.h b/base/nss_util.h
index 2b0139e509b2ea807ba63728e571b75aae3892e4..122e2055d2dbba3091386fb302249e9bdbdd2b96 100644
--- a/base/nss_util.h
+++ b/base/nss_util.h
@@ -20,6 +20,10 @@ namespace base {
class Lock;
class Time;
+// EarlyNSSInit performs lightweight setup which must occur before the process
+// goes multithreaded.
+void EarlyNSSInit();
wtc 2011/01/13 00:07:02 The comment should point out that this function do
+
// 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.
« no previous file with comments | « no previous file | base/nss_util.cc » ('j') | base/nss_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698