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

Unified Diff: chrome/browser/sync/syncable/syncable.h

Issue 1161006: Make it clear what last_sync_timestamp actually tracks. Update (Closed)
Patch Set: Undo accidental patch-juggling mistake. Created 10 years, 9 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
« no previous file with comments | « chrome/browser/sync/syncable/directory_backing_store.cc ('k') | chrome/browser/sync/syncable/syncable.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/syncable/syncable.h
diff --git a/chrome/browser/sync/syncable/syncable.h b/chrome/browser/sync/syncable/syncable.h
index 7389873eba568ffd065d3fd511ed4759d6f4f115..21cd866d60efd853ceca353e225bd700ba9a5dae 100644
--- a/chrome/browser/sync/syncable/syncable.h
+++ b/chrome/browser/sync/syncable/syncable.h
@@ -658,7 +658,7 @@ class Directory {
// for) needs saved across runs of the application.
struct PersistedKernelInfo {
// Last sync timestamp fetched from the server.
- int64 last_sync_timestamp;
+ int64 last_download_timestamp;
// true iff we ever reached the end of the changelog.
bool initial_sync_ended;
// The store birthday we were given by the server. Contents are opaque to
@@ -666,7 +666,7 @@ class Directory {
std::string store_birthday;
// The next local ID that has not been used with this cache-GUID.
int64 next_id;
- PersistedKernelInfo() : last_sync_timestamp(0),
+ PersistedKernelInfo() : last_download_timestamp(0),
initial_sync_ended(false),
next_id(0) {
}
@@ -720,8 +720,8 @@ class Directory {
// The sync timestamp is an index into the list of changes for an account.
// It doesn't actually map to any time scale, it's name is an historical
// anomaly.
- int64 last_sync_timestamp() const;
- void set_last_sync_timestamp(int64 timestamp);
+ int64 last_download_timestamp() const;
+ void set_last_download_timestamp(int64 timestamp);
bool initial_sync_ended() const;
void set_initial_sync_ended(bool value);
« no previous file with comments | « chrome/browser/sync/syncable/directory_backing_store.cc ('k') | chrome/browser/sync/syncable/syncable.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698