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

Unified Diff: base/nss_util.h

Issue 6667020: This change loads opencryptoki and uses the TPM for keygen tags. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adding missing args in unit tests Created 9 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: base/nss_util.h
diff --git a/base/nss_util.h b/base/nss_util.h
index 4be12cea5867b52c5972296b8913ddcc917d31d9..4d7ecaea9ac41e3418a589ac5605cd1f3243f0eb 100644
--- a/base/nss_util.h
+++ b/base/nss_util.h
@@ -6,6 +6,7 @@
#define BASE_NSS_UTIL_H_
#pragma once
+#include <string>
#include "base/basictypes.h"
#if defined(USE_NSS)
@@ -79,8 +80,13 @@ void LoadNSSLibraries();
bool CheckNSSVersion(const char* version);
#if defined(OS_CHROMEOS)
-// Open the r/w nssdb that's stored inside the user's encrypted home directory.
-void OpenPersistentNSSDB();
+// Open the r/w nssdb that's stored inside the user's encrypted home
+// directory. If |load_opencryptoki| is true, then load the
+// opencryptoki module.
+void OpenPersistentNSSDB(bool load_opencryptoki);
+
+// Get name for the built-in TPM token on ChromeOS.
+std::string GetTPMTokenName();
#endif
// Convert a NSS PRTime value into a base::Time object.
« no previous file with comments | « base/crypto/rsa_private_key_nss_unittest.cc ('k') | base/nss_util.cc » ('j') | base/nss_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698