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

Unified Diff: base/nss_init.h

Issue 178062: linux: call PR_Init on UI thread (Closed)
Patch Set: copyrights Created 11 years, 4 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_init.cc » ('j') | base/nss_init.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | base/nss_init.cc » ('j') | base/nss_init.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698