Quota: Implement DetermineStoragePressure().
This function will allow QuotaManager to identify the state of storage pressure when given information about disk capacity and usage. QuotaManager will ultimately use this signal to dispatch a storage pressure event to script. This change also moves the kStoragePressureEvent flag from content_features to quota_features so that it can be accessed from quota code, and content can never be included in storage. This flag will remain accessible from content. Design Doc: https://docs.google.com/document/d/1-ZzFe7ITnzW-G7uymhv_obPwfQjJwzA6wh10tfl5tCw/edit Bug: 1088004 Change-Id: I84387f0599dde3404ffbae9014bf389bd0039ba0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2252032 Commit-Queue: Lexi Stavrakos <astavrakos@google.com> Reviewed-by:Jarryd Goodman <jarrydg@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Reviewed-by:
Darwin Huang <huangdarwin@chromium.org> Cr-Commit-Position: refs/heads/master@{#790575}
Showing
Please register or sign in to comment