Quota: Add NotifyWriteFailed().
Add a method that storage backends can call to let QuotaManager know that a write error will be or has been thrown. This will be used as a hint that the disk storing the user's profile might be full. In combination with Quota's knowledge of disk usage, this function can be used to trigger any actions that the content embedder deems appropriate for storage pressure state, such as notifying the user. Logic for calling this function will be in child CLs. Bug: 997258 Change-Id: Iae7f77f546778f426e13b936f6bfeb6284cab3bc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1969235 Commit-Queue: Jarryd Goodman <jarrydg@chromium.org> Reviewed-by:Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#736495}
Showing
Please register or sign in to comment