-
Jarryd authored
Rename QuotaDiskInfoHelper to QuotaDeviceInfoHelper and add another method to it, AmountOfPhysicalMemory. This allows mocking physical memory in unit tests, particularly useful for testing code having to do with incognito mode. This change also removes a specialized function in QuotaSettings that was used exclusively for testing. Follow up to https://crrev.com/c/1890055 Bug: 1017120 Change-Id: If28105bba658cdff1e3f58340b6dc7bda8285289 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1895074Reviewed-by:
Reilly Grant <reillyg@chromium.org> Reviewed-by:
Bo <boliu@chromium.org> Reviewed-by:
Dmitry Gozman <dgozman@chromium.org> Reviewed-by:
Trent Apted <tapted@chromium.org> Reviewed-by:
Ramin Halavati <rhalavati@chromium.org> Reviewed-by:
Victor Costan <pwnall@chromium.org> Reviewed-by:
Sean Topping <seantopping@chromium.org> Commit-Queue: Jarryd Goodman <jarrydg@chromium.org> Cr-Commit-Position: refs/heads/master@{#713309}
1f02b90f