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

Unified Diff: chrome/browser/sync/syncable/directory_backing_store.cc

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/sessions/sync_session_unittest.cc ('k') | chrome/browser/sync/syncable/syncable.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/syncable/directory_backing_store.cc
diff --git a/chrome/browser/sync/syncable/directory_backing_store.cc b/chrome/browser/sync/syncable/directory_backing_store.cc
index 20c6581ba41d481c0a8ec78c69b6209fbb01157c..a1cb986967247aeef4d0426bb8cd59422757c03e 100644
--- a/chrome/browser/sync/syncable/directory_backing_store.cc
+++ b/chrome/browser/sync/syncable/directory_backing_store.cc
@@ -280,7 +280,7 @@ bool DirectoryBackingStore::SaveChanges(
"SET last_sync_timestamp = ?, initial_sync_ended = ?, "
"store_birthday = ?, "
"next_id = ?");
- update.bind_int64(0, info.last_sync_timestamp);
+ update.bind_int64(0, info.last_download_timestamp);
update.bind_bool(1, info.initial_sync_ended);
update.bind_string(2, info.store_birthday);
update.bind_int64(3, info.next_id);
@@ -444,7 +444,7 @@ void DirectoryBackingStore::LoadInfo(Directory::KernelLoadInfo* info) {
"store_birthday, next_id, cache_guid "
"FROM share_info");
CHECK(SQLITE_ROW == query.step());
- info->kernel_info.last_sync_timestamp = query.column_int64(0);
+ info->kernel_info.last_download_timestamp = query.column_int64(0);
info->kernel_info.initial_sync_ended = query.column_bool(1);
info->kernel_info.store_birthday = query.column_string(2);
info->kernel_info.next_id = query.column_int64(3);
« no previous file with comments | « chrome/browser/sync/sessions/sync_session_unittest.cc ('k') | chrome/browser/sync/syncable/syncable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698