Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(981)

Issue 2835323005: Make the ThrottledOfflineContentProvider better (Closed)

Created:
3 years, 8 months ago by David Trainor- moved to gerrit
Modified:
3 years, 7 months ago
Reviewers:
qinmin, fgorski
CC:
chromium-reviews, Peter Beverloo, harkness+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make 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 #

Messages

Total messages: 14 (9 generated)
David Trainor- moved to gerrit
ptal thanks!
3 years, 8 months ago (2017-04-26 18:51:22 UTC) #4
qinmin
lgtm % comments https://codereview.chromium.org/2835323005/diff/1/components/offline_items_collection/core/throttled_offline_content_provider.h File components/offline_items_collection/core/throttled_offline_content_provider.h (right): https://codereview.chromium.org/2835323005/diff/1/components/offline_items_collection/core/throttled_offline_content_provider.h#newcode37 components/offline_items_collection/core/throttled_offline_content_provider.h:37: // immediately after performing the action. ...
3 years, 7 months ago (2017-04-27 17:18:44 UTC) #7
David Trainor- moved to gerrit
https://codereview.chromium.org/2835323005/diff/1/components/offline_items_collection/core/throttled_offline_content_provider.h File components/offline_items_collection/core/throttled_offline_content_provider.h (right): https://codereview.chromium.org/2835323005/diff/1/components/offline_items_collection/core/throttled_offline_content_provider.h#newcode37 components/offline_items_collection/core/throttled_offline_content_provider.h:37: // immediately after performing the action. This is to ...
3 years, 7 months ago (2017-04-28 01:09:05 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2835323005/20001
3 years, 7 months ago (2017-04-28 07:27:08 UTC) #11
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 08:27:32 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/a7273fae139189164a0a6733cd71...

Powered by Google App Engine
This is Rietveld 408576698