Quota: Fix client accounting in QuotaManager helpers.
https://crrev.com/c/2241955 refactored how QuotaManager reasons about QuotaClients. The new setup maintains separate lists of clients for each StorageType (kTemporary, kPersistent, kSyncable). Unfortunately, the CL did not correctly migrate all the QuotaManager helpers to iterate over the per-StorageType lists instead of the global list. This CL migrates QuotaManager helpers, and adds testing coverage to prevent future regressions. Bug: 1100260 Change-Id: Ie788fc08ffc24cb1bb9d2b83524c21a9d9e296d7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2299466 Commit-Queue: Victor Costan <pwnall@chromium.org> Reviewed-by:Joshua Bell <jsbell@chromium.org> Cr-Commit-Position: refs/heads/master@{#788871}
Showing
Please register or sign in to comment