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

Unified Diff: chromeos/dbus/cryptohome_client.h

Issue 506943002: Wire up GetKeyDataEx() in Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@d_1_367847_move_to_mount_ex
Patch Set: Created 6 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
Index: chromeos/dbus/cryptohome_client.h
diff --git a/chromeos/dbus/cryptohome_client.h b/chromeos/dbus/cryptohome_client.h
index a9d07f7a137637e08d9e57c0d446ecdd1fe74954..f4825274b9d83ce910bff571632f6c45589b1502 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 calll should
Darren Krahn 2014/08/26 20:14:22 nit: calll -> call
bartfab (slow) 2014/08/27 11:53:15 Done.
+ // be be unauthenticated (|auth| should be empty).
Darren Krahn 2014/08/26 20:14:22 nit: be be -> not be
bartfab (slow) 2014/08/27 11:53:15 Done.
+ 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.

Powered by Google App Engine
This is Rietveld 408576698