DescriptionMove implementation of QuotaManager.getVolumeInfo to base::SysInfo.
We get both total disk space and available disk space in multiple places.
I'd like to move the QuotaManager's implementation to base::SysInfo so that we can share the implementation.
This CL also changes the type of disk size from uint64_t to int64_t to be consistent with base::SysInfo::AmountOfFreeDiskSpace().
BUG=none
Committed: https://crrev.com/50a448115ed04d2433e903affb17c8bcd617b367
Cr-Commit-Position: refs/heads/master@{#399252}
Patch Set 1 #Patch Set 2 : #
Total comments: 6
Patch Set 3 : Address review comments. #
Total comments: 4
Patch Set 4 : Add AmountOfTotalDiskSpace() instead of GetDiskSpaceInfo(). #
Total comments: 1
Messages
Total messages: 20 (7 generated)
|