summaryrefslogtreecommitdiffstats
path: root/crypto/nss_util.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-20 23:24:09 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-20 23:24:09 +0000
commite4c9ddaf1f515ab9b11855d710107c91771cb5a9 (patch)
tree955d35dd2b66abb75b4d30d71344d91786a0fa99 /crypto/nss_util.h
parent696e471564eee41d4077c450ec331d57992c303a (diff)
downloadchromium_src-e4c9ddaf1f515ab9b11855d710107c91771cb5a9.zip
chromium_src-e4c9ddaf1f515ab9b11855d710107c91771cb5a9.tar.gz
chromium_src-e4c9ddaf1f515ab9b11855d710107c91771cb5a9.tar.bz2
Crypto: Add crypto_api to code needed outside of crypto
that is not covered by crypto_unittests BUG=85776 TEST=none Review URL: http://codereview.chromium.org/7209001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89756 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto/nss_util.h')
-rw-r--r--crypto/nss_util.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/nss_util.h b/crypto/nss_util.h
index c350c93..1244db9 100644
--- a/crypto/nss_util.h
+++ b/crypto/nss_util.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/basictypes.h"
+#include "crypto/crypto_api.h"
#if defined(USE_NSS)
class FilePath;
@@ -32,12 +33,12 @@ void EarlySetupForNSSInit();
// Initialize NRPR if it isn't already initialized. This function is
// thread-safe, and NSPR will only ever be initialized once.
-void EnsureNSPRInit();
+void CRYPTO_API 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.
-void EnsureNSSInit();
+void CRYPTO_API EnsureNSSInit();
// Call this before calling EnsureNSSInit() will force NSS to initialize
// without a persistent DB. This is used for the special case where access of