diff options
author | gangwu <gangwu@chromium.org> | 2015-02-26 16:39:04 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-27 00:40:20 +0000 |
commit | 7ee948bfa70124e6995e4159790bbe0d3d559d2a (patch) | |
tree | 356fd3dbca8d88368956530680feebde68554d28 /sync/engine/get_updates_processor.h | |
parent | 7d26668a97d0b864d822dafa8aa4f4a394e5aabd (diff) | |
download | chromium_src-7ee948bfa70124e6995e4159790bbe0d3d559d2a.zip chromium_src-7ee948bfa70124e6995e4159790bbe0d3d559d2a.tar.gz chromium_src-7ee948bfa70124e6995e4159790bbe0d3d559d2a.tar.bz2 |
[Sync] Add support for GetUpdates Throttling
During GetUpdates, if some data types got throttled, client
should backoff those data types and keep going with other unthrottled data types.
BUG=416992
Review URL: https://codereview.chromium.org/955693004
Cr-Commit-Position: refs/heads/master@{#318356}
Diffstat (limited to 'sync/engine/get_updates_processor.h')
-rw-r--r-- | sync/engine/get_updates_processor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sync/engine/get_updates_processor.h b/sync/engine/get_updates_processor.h index 6c96132..934c3f1 100644 --- a/sync/engine/get_updates_processor.h +++ b/sync/engine/get_updates_processor.h @@ -54,7 +54,7 @@ class SYNC_EXPORT_PRIVATE GetUpdatesProcessor { // download succeeded but there are still some updates left to fetch on the // server, or an appropriate error value in case of failure. SyncerError DownloadUpdates( - ModelTypeSet request_types, + ModelTypeSet* request_types, sessions::SyncSession* session, bool create_mobile_bookmarks_folder); @@ -71,7 +71,7 @@ class SYNC_EXPORT_PRIVATE GetUpdatesProcessor { // Sends the specified message to the server and stores the response in a // member of the |session|'s StatusController. - SyncerError ExecuteDownloadUpdates(ModelTypeSet request_types, + SyncerError ExecuteDownloadUpdates(ModelTypeSet* request_types, sessions::SyncSession* session, sync_pb::ClientToServerMessage* msg); |