DescriptionSubmit buffered data use reports when Chromium is backgrounded
Currently, ExternalDataUseObserver buffers data use reports until the
sum of bytes across all reports exceeds |kDefaultDataUseReportMinBytes|.
This leads to loss of buffered reports, when Chromium is closed. By
reporting the bytes whenever Chromium goes into the background we can
reduce the unreported bytes.
BUG=570001
Committed: https://crrev.com/3ea246d66fe9bcab77d2c3ecc77331cf1ffb3fc5
Cr-Commit-Position: refs/heads/master@{#367126}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Added unittests, addressed comments #
Total comments: 3
Patch Set 3 : Addressed nits #
Messages
Total messages: 11 (4 generated)
|