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

Unified Diff: chromeos/dbus/fake_cryptohome_client.cc

Issue 2111043003: Storage manager: Show the disk usage of other users. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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
« no previous file with comments | « chromeos/dbus/fake_cryptohome_client.h ('k') | chromeos/dbus/mock_cryptohome_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5c728a5e703933bc243081008e09d01159fee2f1 100644
--- a/chromeos/dbus/fake_cryptohome_client.cc
+++ b/chromeos/dbus/fake_cryptohome_client.cc
@@ -105,6 +105,13 @@ void FakeCryptohomeClient::RenameCryptohome(
ReturnProtobufMethodCallback(reply, callback);
}
+void FakeCryptohomeClient::GetAccountDiskUsage(
+ const cryptohome::Identification& account_id,
+ const ProtobufMethodCallback& callback) {
+ cryptohome::BaseReply reply;
Darren Krahn 2016/06/30 16:35:26 Create the extension and return a fake size?
fukino 2016/06/30 18:54:37 I set 100MB as a fake usage for each user. Thanks!
+ ReturnProtobufMethodCallback(reply, callback);
+}
+
void FakeCryptohomeClient::GetSystemSalt(
const GetSystemSaltCallback& callback) {
base::ThreadTaskRunnerHandle::Get()->PostTask(
« no previous file with comments | « chromeos/dbus/fake_cryptohome_client.h ('k') | chromeos/dbus/mock_cryptohome_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698