| Index: chromeos/dbus/fake_cryptohome_client.cc
|
| diff --git a/chromeos/dbus/fake_cryptohome_client.cc b/chromeos/dbus/fake_cryptohome_client.cc
|
| index e7ca09a34794cf271539cd88263318ac3d80d1ae..1ec74fdbe3fafc50a73d9552e6ff2d17c978ea9f 100644
|
| --- a/chromeos/dbus/fake_cryptohome_client.cc
|
| +++ b/chromeos/dbus/fake_cryptohome_client.cc
|
| @@ -105,6 +105,17 @@ void FakeCryptohomeClient::RenameCryptohome(
|
| ReturnProtobufMethodCallback(reply, callback);
|
| }
|
|
|
| +void FakeCryptohomeClient::GetAccountDiskUsage(
|
| + const cryptohome::Identification& account_id,
|
| + const ProtobufMethodCallback& callback) {
|
| + cryptohome::BaseReply reply;
|
| + cryptohome::GetAccountDiskUsageReply* get_account_disk_usage_reply =
|
| + reply.MutableExtension(cryptohome::GetAccountDiskUsageReply::reply);
|
| + // Sets 100 MB as a fake usage.
|
| + get_account_disk_usage_reply->set_size(100 * 1024 * 1024);
|
| + ReturnProtobufMethodCallback(reply, callback);
|
| +}
|
| +
|
| void FakeCryptohomeClient::GetSystemSalt(
|
| const GetSystemSaltCallback& callback) {
|
| base::ThreadTaskRunnerHandle::Get()->PostTask(
|
|
|