diff options
author | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-05 03:51:44 +0000 |
---|---|---|
committer | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-05 03:51:44 +0000 |
commit | ce2e906005c7d6664518ff9b1e541733ed251ace (patch) | |
tree | f34377f83975fcc5d289491ba7d2828eebedf52b /sync/internal_api/sync_manager_impl.h | |
parent | b86d3ec7994792d30c1a54d8b25579ad8eded24f (diff) | |
download | chromium_src-ce2e906005c7d6664518ff9b1e541733ed251ace.zip chromium_src-ce2e906005c7d6664518ff9b1e541733ed251ace.tar.gz chromium_src-ce2e906005c7d6664518ff9b1e541733ed251ace.tar.bz2 |
Implement Invalidator::Acknowledge.
We implement this by creating a local queue of entries we've received invalidations for and then immediately acknowledging to Tango. When InvalidationHandlers acknowledge that they've finished processing for an id, we erase their entry from the queue; otherwise, we send reminder invalidations on an exponentially increasing delay.
BUG=124149
Review URL: https://chromiumcodereview.appspot.com/10911084
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186079 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/sync_manager_impl.h')
-rw-r--r-- | sync/internal_api/sync_manager_impl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sync/internal_api/sync_manager_impl.h b/sync/internal_api/sync_manager_impl.h index 8baf44d..d58a1f2 100644 --- a/sync/internal_api/sync_manager_impl.h +++ b/sync/internal_api/sync_manager_impl.h @@ -96,6 +96,9 @@ class SYNC_EXPORT_PRIVATE SyncManagerImpl : const ObjectIdSet& ids) OVERRIDE; virtual void UnregisterInvalidationHandler( InvalidationHandler* handler) OVERRIDE; + virtual void AcknowledgeInvalidation( + const invalidation::ObjectId& id, + const syncer::AckHandle& ack_handle) OVERRIDE; virtual void StartSyncingNormally( const ModelSafeRoutingInfo& routing_info) OVERRIDE; virtual void ConfigureSyncer( |