summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/fake_cryptohome_client.h
diff options
context:
space:
mode:
authorbartfab <bartfab@chromium.org>2014-08-29 03:50:23 -0700
committerCommit bot <commit-bot@chromium.org>2014-08-29 10:51:28 +0000
commit2401bb93e76413176246a41be2a51de1e43137a0 (patch)
treea5c0009d8851853e70d57f26f9e79430dec0d94a /chromeos/dbus/fake_cryptohome_client.h
parent35f985b3b8388a4471d5f62a242b4ea0b4f6a9e7 (diff)
downloadchromium_src-2401bb93e76413176246a41be2a51de1e43137a0.zip
chromium_src-2401bb93e76413176246a41be2a51de1e43137a0.tar.gz
chromium_src-2401bb93e76413176246a41be2a51de1e43137a0.tar.bz2
Wire up GetKeyDataEx() in Chrome
This CL wires up cryptohomed's GetKeyDataEx() as HomedirMethods::GetKeyDataEx() in Chrome. The method will be used to retrieve metadata such as the hashing algorithm and salt used for a key. BUG=367847 TEST=New homedir_methods_unittest.cc Review URL: https://codereview.chromium.org/506943002 Cr-Commit-Position: refs/heads/master@{#292602}
Diffstat (limited to 'chromeos/dbus/fake_cryptohome_client.h')
-rw-r--r--chromeos/dbus/fake_cryptohome_client.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromeos/dbus/fake_cryptohome_client.h b/chromeos/dbus/fake_cryptohome_client.h
index eac6f0a..68f1e86 100644
--- a/chromeos/dbus/fake_cryptohome_client.h
+++ b/chromeos/dbus/fake_cryptohome_client.h
@@ -160,6 +160,11 @@ class CHROMEOS_EXPORT FakeCryptohomeClient : public CryptohomeClient {
const std::string& user_id,
const std::string& key_prefix,
const BoolDBusMethodCallback& callback) OVERRIDE;
+ virtual void GetKeyDataEx(
+ const cryptohome::AccountIdentifier& id,
+ const cryptohome::AuthorizationRequest& auth,
+ const cryptohome::GetKeyDataRequest& request,
+ const ProtobufMethodCallback& callback) OVERRIDE;
virtual void CheckKeyEx(
const cryptohome::AccountIdentifier& id,
const cryptohome::AuthorizationRequest& auth,