From ce2e906005c7d6664518ff9b1e541733ed251ace Mon Sep 17 00:00:00 2001 From: "dcheng@chromium.org" Date: Tue, 5 Mar 2013 03:51:44 +0000 Subject: 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 --- sync/internal_api/sync_manager_impl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sync/internal_api/sync_manager_impl.h') 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( -- cgit v1.1