DescriptionMake the ThrottledOfflineContentProvider better
Simple improvements to make the throttle work in a more expected way.
- Calling any method to update the underlying contents of the throttle
will allow the all queued updates to flush.
- Calling updates infrequently will not queue. Instead we track the
time since the last update and don't queue if the time has been long
enough.
- Hook the throttle into the JNI bridge for the Android
OfflineContentProvider.
BUG=715669
Review-Url: https://codereview.chromium.org/2835323005
Cr-Commit-Position: refs/heads/master@{#467930}
Committed: https://chromium.googlesource.com/chromium/src/+/a7273fae139189164a0a6733cd717e570ebe343e
Patch Set 1 #
Total comments: 6
Patch Set 2 : Addressed comments #
Depends on Patchset: Messages
Total messages: 14 (9 generated)
|