Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Unified Diff: sync/sessions/nudge_tracker.h

Issue 387983004: sync: Support non-blocking initial sync in proto (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + fix comment Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sync/sessions/nudge_tracker.h
diff --git a/sync/sessions/nudge_tracker.h b/sync/sessions/nudge_tracker.h
index a602537f1f8c4c3dc03e26689c77bab8efe9754c..0397c5dc3dba42e49f442fd33d766f8d13b75a9b 100644
--- a/sync/sessions/nudge_tracker.h
+++ b/sync/sessions/nudge_tracker.h
@@ -62,6 +62,9 @@ class SYNC_EXPORT_PRIVATE NudgeTracker {
void RecordRemoteInvalidation(syncer::ModelType type,
scoped_ptr<InvalidationInterface> invalidation);
+ // Take note that an initial sync is pending for this type.
+ void RecordInitialSyncRequired(syncer::ModelType type);
+
// These functions should be called to keep this class informed of the status
// of the connection to the invalidations server.
void OnInvalidationsEnabled();

Powered by Google App Engine
This is Rietveld 408576698