| Index: chromeos/cryptohome/homedir_methods.h
|
| diff --git a/chromeos/cryptohome/homedir_methods.h b/chromeos/cryptohome/homedir_methods.h
|
| index 3f40f4a45afdc7283f282a3abffd7e3d6c150b5c..2117e50ab62a95ef3775d50e1b5a9bce22686b91 100644
|
| --- a/chromeos/cryptohome/homedir_methods.h
|
| +++ b/chromeos/cryptohome/homedir_methods.h
|
| @@ -30,6 +30,8 @@ class CHROMEOS_EXPORT HomedirMethods {
|
| typedef base::Callback<
|
| void(bool success, MountError return_code, const std::string& mount_hash)>
|
| MountCallback;
|
| + typedef base::Callback<void(bool success, int64_t size)>
|
| + GetAccountDiskUsageCallback;
|
|
|
| virtual ~HomedirMethods() {}
|
|
|
| @@ -95,6 +97,12 @@ class CHROMEOS_EXPORT HomedirMethods {
|
| const Identification& id_to,
|
| const Callback& callback) = 0;
|
|
|
| + // Asks cryptohomed to compute the size of cryptohome for user identified by
|
| + // |id|.
|
| + virtual void GetAccountDiskUsage(
|
| + const Identification& id,
|
| + const GetAccountDiskUsageCallback& callback) = 0;
|
| +
|
| // Creates the global HomedirMethods instance.
|
| static void Initialize();
|
|
|
|
|