[DOMStorage] Rate limiting writes to disk.
Given access patterns that are just wrong, local & session storage can write many gigabytes per day or keep the disk perpetually spun up. To avoid excessive IO, we apply limits to the amount of data being written and the frequency of writes to address both kinds of 'bad' behaviors.
TBR=rvargas
BUG=
176727
Committed:
https://crrev.com/770daec923bb61392afbf9ca16ee0dad147e154f
Cr-Commit-Position: refs/heads/master@{#317424}