summaryrefslogtreecommitdiffstats
path: root/base/nss_util.h
diff options
context:
space:
mode:
authorcmasone@google.com <cmasone@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-29 17:50:06 +0000
committercmasone@google.com <cmasone@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-29 17:50:06 +0000
commitdcce6cf6c6b779abaa8279ada0b9c073567c49b3 (patch)
tree6340b27bc5d4d47c8c1cde2c6cce29f27defa25e /base/nss_util.h
parentb6128aaba9e7c148d1a71710b1d7de5d101f9967 (diff)
downloadchromium_src-dcce6cf6c6b779abaa8279ada0b9c073567c49b3.zip
chromium_src-dcce6cf6c6b779abaa8279ada0b9c073567c49b3.tar.gz
chromium_src-dcce6cf6c6b779abaa8279ada0b9c073567c49b3.tar.bz2
Enable Chrome OS to load the user's nssdb later.
Review URL: http://codereview.chromium.org/1730001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45954 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/nss_util.h')
-rw-r--r--base/nss_util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/nss_util.h b/base/nss_util.h
index 5c8e0f6..94a81cb 100644
--- a/base/nss_util.h
+++ b/base/nss_util.h
@@ -24,6 +24,11 @@ void EnsureNSPRInit();
// ever be initialized once. NSS will be properly shut down on program exit.
void EnsureNSSInit();
+#if defined(OS_CHROMEOS)
+// Open the r/w nssdb that's stored inside the user's encrypted home directory.
+void OpenPersistentNSSDB();
+#endif
+
// Convert a NSS PRTime value into a base::Time object.
// We use a int64 instead of PRTime here to avoid depending on NSPR headers.
Time PRTimeToBaseTime(int64 prtime);