Index: base/nss_init.h |
diff --git a/base/nss_init.h b/base/nss_init.h |
index 181d29297e4d1bf2016fc0495a9db5eff709ef6a..cd8ee770cb4f5bc4aa397e6b9013adc023f18407 100644 |
--- a/base/nss_init.h |
+++ b/base/nss_init.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2008 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2009 The Chromium Authors. All rights reserved. |
wtc
2009/09/02 01:17:17
This should say 2008-2009.
|
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -7,6 +7,11 @@ |
namespace base { |
+// 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. |
+void EnsureNSPRInit(); |
+ |
// Initialize NSS if it isn't already initialized. This must be called before |
// any other NSS functions. This function is thread-safe, and NSS will only |
// ever be initialized once. NSS will be properly shut down on program exit. |