Index: chromeos/dbus/cryptohome_client.h |
diff --git a/chromeos/dbus/cryptohome_client.h b/chromeos/dbus/cryptohome_client.h |
index a9d07f7a137637e08d9e57c0d446ecdd1fe74954..8212dd2ca939d52b20da4c5861786639af5e29d9 100644 |
--- a/chromeos/dbus/cryptohome_client.h |
+++ b/chromeos/dbus/cryptohome_client.h |
@@ -24,6 +24,7 @@ class BaseReply; |
class CheckKeyRequest; |
class FlushAndSignBootAttributesRequest; |
class GetBootAttributeRequest; |
+class GetKeyDataRequest; |
class MountRequest; |
class RemoveKeyRequest; |
class SetBootAttributeRequest; |
@@ -454,6 +455,17 @@ class CHROMEOS_EXPORT CryptohomeClient : public DBusClient { |
const std::string& key_prefix, |
const BoolDBusMethodCallback& callback) = 0; |
+ // Asynchronously calls the GetKeyDataEx method. |callback| will be invoked |
+ // with the reply protobuf. |
+ // GetKeyDataEx returns information about the key specified in |request|. At |
+ // present, this does not include any secret information and the call should |
+ // not be authenticated (|auth| should be empty). |
+ virtual void GetKeyDataEx( |
+ const cryptohome::AccountIdentifier& id, |
+ const cryptohome::AuthorizationRequest& auth, |
+ const cryptohome::GetKeyDataRequest& request, |
+ const ProtobufMethodCallback& callback) = 0; |
+ |
// Asynchronously calls CheckKeyEx method. |callback| is called after method |
// call, and with reply protobuf. |
// CheckKeyEx just checks if authorization information is valid. |