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

Unified Diff: chromeos/dbus/cryptohome_client.h

Issue 26407002: Add support for the Pkcs11GetTpmTokenInfoForUser cryptohome call. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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: chromeos/dbus/cryptohome_client.h
diff --git a/chromeos/dbus/cryptohome_client.h b/chromeos/dbus/cryptohome_client.h
index b1019c5b7b1f6cdd02c88f04cdd25bdfb6684a19..5444376d7fbf6965a7423d175e0c65ee681deb3c 100644
--- a/chromeos/dbus/cryptohome_client.h
+++ b/chromeos/dbus/cryptohome_client.h
@@ -39,7 +39,8 @@ class CHROMEOS_EXPORT CryptohomeClient : public DBusClient {
typedef base::Callback<void(
DBusMethodCallStatus call_status,
const std::string& label,
- const std::string& user_pin)> Pkcs11GetTpmTokenInfoCallback;
+ const std::string& user_pin,
+ int slot)> Pkcs11GetTpmTokenInfoCallback;
satorux1 2013/10/08 04:29:33 What is slot? could you add some comments about la
Darren Krahn 2013/10/08 17:06:41 Done.
// A callback for methods which return both a bool result and data.
typedef base::Callback<void(DBusMethodCallStatus call_status,
bool result,
@@ -190,6 +191,10 @@ class CHROMEOS_EXPORT CryptohomeClient : public DBusClient {
virtual void Pkcs11GetTpmTokenInfo(
const Pkcs11GetTpmTokenInfoCallback& callback) = 0;
+ virtual void Pkcs11GetTpmTokenInfoForUser(
satorux1 2013/10/08 04:29:33 Function comment is missing. "Calls XXX method."
Darren Krahn 2013/10/08 17:06:41 Done.
+ const std::string& username,
+ const Pkcs11GetTpmTokenInfoCallback& callback) = 0;
+
// Calls InstallAttributesGet method and returns true when the call succeeds.
// This method blocks until the call returns.
// The original content of |value| is lost.

Powered by Google App Engine
This is Rietveld 408576698