Chromium Code Reviews
DescriptionAdd an API to get total size of Drive cache including non-evictable ones.
The API is needed to show the total size of Drive cache in storage manager.
This CL also changes the type of cache size to int64_t, to be consistent with functions under base/files.
BUG=591958
TEST=manually
Committed: https://crrev.com/6380c07c5be816838aa3e8027d32b1cc2404c9c9
Cr-Commit-Position: refs/heads/master@{#398805}
Patch Set 1 #Patch Set 2 : #
Total comments: 4
Patch Set 3 : Check the metadata about existence of cache before calculating size. #Patch Set 4 : Check is_present() #Patch Set 5 : Remove an unnecessary parameter. #Messages
Total messages: 17 (5 generated)
|