diff options
author | haitaol@chromium.org <haitaol@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-14 16:17:43 +0000 |
---|---|---|
committer | haitaol@chromium.org <haitaol@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-14 16:17:43 +0000 |
commit | 3dfc7b7970b85378523b53bea33b1139dceaca6e (patch) | |
tree | 74450de20b350f2995db44f319b8da0f4911e97d /sync/test | |
parent | ea7f19230d44bd71eef8082ee79740d11ac047d1 (diff) | |
download | chromium_src-3dfc7b7970b85378523b53bea33b1139dceaca6e.zip chromium_src-3dfc7b7970b85378523b53bea33b1139dceaca6e.tar.gz chromium_src-3dfc7b7970b85378523b53bea33b1139dceaca6e.tar.bz2 |
[Recommit]
Support GU retry command in sync engine. The command specifies a delay after which syncer should issue a GU to pick up updates missed by last GU.
TBR=rlarocque@chromium.org
Review URL: https://codereview.chromium.org/133763007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244736 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/test')
-rw-r--r-- | sync/test/engine/fake_sync_scheduler.cc | 4 | ||||
-rw-r--r-- | sync/test/engine/fake_sync_scheduler.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sync/test/engine/fake_sync_scheduler.cc b/sync/test/engine/fake_sync_scheduler.cc index 6f704c6..7a6d20c 100644 --- a/sync/test/engine/fake_sync_scheduler.cc +++ b/sync/test/engine/fake_sync_scheduler.cc @@ -86,4 +86,8 @@ void FakeSyncScheduler::OnSyncProtocolError( const sessions::SyncSessionSnapshot& snapshot) { } +void FakeSyncScheduler::OnReceivedGuRetryDelay( + const base::TimeDelta& delay) { +} + } // namespace syncer diff --git a/sync/test/engine/fake_sync_scheduler.h b/sync/test/engine/fake_sync_scheduler.h index 9cab49d..0020ccd 100644 --- a/sync/test/engine/fake_sync_scheduler.h +++ b/sync/test/engine/fake_sync_scheduler.h @@ -57,6 +57,8 @@ class FakeSyncScheduler : public SyncScheduler { virtual void OnReceivedClientInvalidationHintBufferSize(int size) OVERRIDE; virtual void OnSyncProtocolError( const sessions::SyncSessionSnapshot& snapshot) OVERRIDE; + virtual void OnReceivedGuRetryDelay( + const base::TimeDelta& delay) OVERRIDE; }; } // namespace syncer |