summaryrefslogtreecommitdiffstats
path: root/sync/sessions/sync_session.h
diff options
context:
space:
mode:
authorhaitaol@chromium.org <haitaol@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-11 23:00:43 +0000
committerhaitaol@chromium.org <haitaol@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-11 23:00:43 +0000
commite3e44e71643ae5d04dc9ea3303c2ae949c2038ab (patch)
tree4ef8b7a6d96171e9c307fff723b70d08a22c3682 /sync/sessions/sync_session.h
parentde764e8a49e46e0902fa40aa4c73427fcc95a562 (diff)
downloadchromium_src-e3e44e71643ae5d04dc9ea3303c2ae949c2038ab.zip
chromium_src-e3e44e71643ae5d04dc9ea3303c2ae949c2038ab.tar.gz
chromium_src-e3e44e71643ae5d04dc9ea3303c2ae949c2038ab.tar.bz2
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.
BUG= Review URL: https://codereview.chromium.org/124083002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244381 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/sessions/sync_session.h')
-rw-r--r--sync/sessions/sync_session.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sync/sessions/sync_session.h b/sync/sessions/sync_session.h
index f576720..e25c718 100644
--- a/sync/sessions/sync_session.h
+++ b/sync/sessions/sync_session.h
@@ -81,6 +81,9 @@ class SYNC_EXPORT_PRIVATE SyncSession {
// will buffer locally.
virtual void OnReceivedClientInvalidationHintBufferSize(int size) = 0;
+ // Called when server wants to schedule a retry GU.
+ virtual void OnReceivedGuRetryDelay(const base::TimeDelta& delay) = 0;
+
protected:
virtual ~Delegate() {}
};