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

Unified Diff: sync/sessions/nudge_tracker.h

Issue 19309002: sync: Add pre-commit update avoidance mode + flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 0e8ab51202c058b8f72d115e5f21d5eba7c174de..ebf09120c7e2ee8bb05e696301c1b6914dbc2b83 100644
--- a/sync/sessions/nudge_tracker.h
+++ b/sync/sessions/nudge_tracker.h
@@ -34,6 +34,10 @@ class SYNC_EXPORT_PRIVATE NudgeTracker {
// perform a sync cycle; that's the scheduler's job.
bool IsSyncRequired() const;
+ // Returns true if there is a good reason for performan a get updates
Nicolas Zea 2013/07/16 00:24:32 performan -> performing
rlarocque 2013/07/16 01:08:27 Done.
+ // request as part of the next sync cycle.
+ bool IsGetUpdatesRequired() const;
+
// Tells this class that all required update fetching and committing has
// completed successfully.
void RecordSuccessfulSyncCycle();

Powered by Google App Engine
This is Rietveld 408576698