Chromium Code Reviews| OLD | NEW |
|---|---|
| 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_ |
| OLD | NEW |