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

Unified Diff: tpm_init.h

Issue 3236009: Add additional status APIs for the TPM. (Closed) Base URL: http://git.chromium.org/git/tpm_init.git
Patch Set: Created 10 years, 4 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
« no previous file with comments | « tpm.cc ('k') | tpm_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tpm_init.h
diff --git a/tpm_init.h b/tpm_init.h
index e2e6bd16797cc5d1db679fefdc967a92546d222c..1f15fd43e8bfc7a2068bdd4b2629c1dd4baa9b86 100644
--- a/tpm_init.h
+++ b/tpm_init.h
@@ -39,6 +39,12 @@ class TpmInit {
// Returns true if the TPM is enabled
virtual bool IsTpmEnabled();
+ // Returns true if the TPM is owned
+ virtual bool IsTpmOwned();
+
+ // Returns true if the TPM is being owned
+ virtual bool IsTpmBeingOwned();
+
// Gets the TPM password if the TPM initialization took ownership
//
// Parameters
« no previous file with comments | « tpm.cc ('k') | tpm_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698