summaryrefslogtreecommitdiffstats
path: root/sync/engine/sync_scheduler_impl.h
diff options
context:
space:
mode:
authorrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-18 18:13:46 +0000
committerrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-18 18:13:46 +0000
commit955a206f776a025c6cf86e49cf43ea09a8bf630c (patch)
tree4cd0a3ebde3e6e2f297de5eda7465b80044b1a2e /sync/engine/sync_scheduler_impl.h
parent086028755ed14102deaf027ca274ab0a25aec65e (diff)
downloadchromium_src-955a206f776a025c6cf86e49cf43ea09a8bf630c.zip
chromium_src-955a206f776a025c6cf86e49cf43ea09a8bf630c.tar.gz
chromium_src-955a206f776a025c6cf86e49cf43ea09a8bf630c.tar.bz2
sync: Support non-blocking initial sync in proto
Adds support for non-blocking initial sync to the sync protocol. This allows some types to request an initial sync without having the scheduler enter configure mode. The protocol changes are necessary to keep the server informed that the request is due to an initial sync request. The remainder of the changes in this CL were required to plumb information about the cause of the sync cycle through the SyncScheduler. This CL also includes some new tests. At the moment, there are no types in use that support this feature. This CL will not affect behavior in any way. BUG=351005 Review URL: https://codereview.chromium.org/387983004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284159 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/engine/sync_scheduler_impl.h')
-rw-r--r--sync/engine/sync_scheduler_impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sync/engine/sync_scheduler_impl.h b/sync/engine/sync_scheduler_impl.h
index d78b5d6..7cb295b 100644
--- a/sync/engine/sync_scheduler_impl.h
+++ b/sync/engine/sync_scheduler_impl.h
@@ -68,6 +68,7 @@ class SYNC_EXPORT_PRIVATE SyncSchedulerImpl
syncer::ModelType type,
scoped_ptr<InvalidationInterface> invalidation,
const tracked_objects::Location& nudge_location) OVERRIDE;
+ virtual void ScheduleInitialSyncNudge(syncer::ModelType model_type) OVERRIDE;
virtual void SetNotificationsEnabled(bool notifications_enabled) OVERRIDE;
virtual base::TimeDelta GetSessionsCommitDelay() const OVERRIDE;