quota: Fix type confusion in QuotaManagedDataDeletionHelper.
StoragePartitionImpl::QuotaManagedDataDeletionHelper receives the set of storage backends whose storage will be deleted using a StoragePartitionImpl-specific remove_mask, which is a uint32_t. It is responsible for converting this to a QuotaManager-specific quota_client_mask, which is an int. The conversion is done correctly when calling QuotaManager::DeleteOriginData(), but is skipped when calling QuotaManaegr::PerformStorageCleanup(). This CL ensures that the conversion is done consistently when transitioning into QuotaManager. This problem was discovered while moving the Quota subsystem to the Storage Service. The problem is fixed in a small independent CL to take advantage of Canary's ability to catch unexpected issues. Bug: 1016065 Change-Id: I165e2033d73b5d3458c50ed5a58117130daf9db0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2186178Reviewed-by:Jarryd Goodman <jarrydg@chromium.org> Commit-Queue: Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#766467}
Showing
Please register or sign in to comment