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

Unified Diff: components/sync_driver/sync_prefs.h

Issue 1132013004: [Sync] Refactoring polling to be reliable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix SyncClient Created 5 years, 7 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: components/sync_driver/sync_prefs.h
diff --git a/components/sync_driver/sync_prefs.h b/components/sync_driver/sync_prefs.h
index a65f0b3ad6692332fb252465809cc272eff57e66..fed32dbf782bb9b0d154d0a2b8ef2eecd9147bf5 100644
--- a/components/sync_driver/sync_prefs.h
+++ b/components/sync_driver/sync_prefs.h
@@ -80,6 +80,9 @@ class SyncPrefs : NON_EXPORTED_BASE(public base::NonThreadSafe),
base::Time GetLastSyncedTime() const;
void SetLastSyncedTime(base::Time time);
+ base::Time GetLastPollTime() const;
+ void SetLastPollTime(base::Time time);
+
bool HasKeepEverythingSynced() const;
void SetKeepEverythingSynced(bool keep_everything_synced);

Powered by Google App Engine
This is Rietveld 408576698