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

Unified Diff: chrome/browser/sync/syncable/syncable_unittest.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/syncable/syncable.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/syncable/syncable_unittest.cc
diff --git a/chrome/browser/sync/syncable/syncable_unittest.cc b/chrome/browser/sync/syncable/syncable_unittest.cc
index 3d514e0e7f03614488d1f2f29d7f28f7e960a24c..dd555c65cfae44956dc9b719175dda81a3b8d97d 100644
--- a/chrome/browser/sync/syncable/syncable_unittest.cc
+++ b/chrome/browser/sync/syncable/syncable_unittest.cc
@@ -833,19 +833,19 @@ TEST_F(SyncableDirectoryTest, TestCaseChangeRename) {
}
TEST_F(SyncableDirectoryTest, TestShareInfo) {
- dir_->set_last_sync_timestamp(100);
+ dir_->set_last_download_timestamp(100);
dir_->set_store_birthday("Jan 31st");
{
ReadTransaction trans(dir_.get(), __FILE__, __LINE__);
- EXPECT_EQ(100, dir_->last_sync_timestamp());
+ EXPECT_EQ(100, dir_->last_download_timestamp());
EXPECT_EQ("Jan 31st", dir_->store_birthday());
}
- dir_->set_last_sync_timestamp(200);
+ dir_->set_last_download_timestamp(200);
dir_->set_store_birthday("April 10th");
dir_->SaveChanges();
{
ReadTransaction trans(dir_.get(), __FILE__, __LINE__);
- EXPECT_EQ(200, dir_->last_sync_timestamp());
+ EXPECT_EQ(200, dir_->last_download_timestamp());
EXPECT_EQ("April 10th", dir_->store_birthday());
}
}
« no previous file with comments | « chrome/browser/sync/syncable/syncable.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698