 Chromium Code Reviews
 Chromium Code Reviews Issue 19309002:
  sync: Add pre-commit update avoidance mode + flag  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src
    
  
    Issue 19309002:
  sync: Add pre-commit update avoidance mode + flag  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src| 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(); |