diff options
Diffstat (limited to 'base/nss_init.h')
-rw-r--r-- | base/nss_init.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/base/nss_init.h b/base/nss_init.h new file mode 100644 index 0000000..181d292 --- /dev/null +++ b/base/nss_init.h @@ -0,0 +1,17 @@ +// Copyright (c) 2008 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef BASE_NSS_INIT_H_ +#define BASE_NSS_INIT_H_ + +namespace base { + +// 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. +void EnsureNSSInit(); + +} // namespace base + +#endif // BASE_NSS_INIT_H_ |