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

Side by Side Diff: base/nss_init.h

Issue 178062: linux: call PR_Init on UI thread (Closed)
Patch Set: copyrights Created 11 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | base/nss_init.cc » ('j') | base/nss_init.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
wtc 2009/09/02 01:17:17 This should say 2008-2009.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef BASE_NSS_INIT_H_ 5 #ifndef BASE_NSS_INIT_H_
6 #define BASE_NSS_INIT_H_ 6 #define BASE_NSS_INIT_H_
7 7
8 namespace base { 8 namespace base {
9 9
10 // Initialize NRPR if it isn't already initialized. This function is
11 // thread-safe, and NSPR will only ever be initialized once. NSPR will be
12 // properly shut down on program exit.
13 void EnsureNSPRInit();
14
10 // Initialize NSS if it isn't already initialized. This must be called before 15 // Initialize NSS if it isn't already initialized. This must be called before
11 // any other NSS functions. This function is thread-safe, and NSS will only 16 // any other NSS functions. This function is thread-safe, and NSS will only
12 // ever be initialized once. NSS will be properly shut down on program exit. 17 // ever be initialized once. NSS will be properly shut down on program exit.
13 void EnsureNSSInit(); 18 void EnsureNSSInit();
14 19
15 } // namespace base 20 } // namespace base
16 21
17 #endif // BASE_NSS_INIT_H_ 22 #endif // BASE_NSS_INIT_H_
OLDNEW
« 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