| Index: sync/syncable/syncable_unittest.cc
|
| diff --git a/sync/syncable/syncable_unittest.cc b/sync/syncable/syncable_unittest.cc
|
| index b74d41cf08a0a7baf90d3b8abded5e2b361897b6..c48720e0878fb7c2df9f8f267f406a1c5015bdd0 100644
|
| --- a/sync/syncable/syncable_unittest.cc
|
| +++ b/sync/syncable/syncable_unittest.cc
|
| @@ -1583,15 +1583,18 @@ TEST_F(OnDiskSyncableDirectoryTest, TestShareInfo) {
|
| dir_->set_initial_sync_ended_for_type(AUTOFILL, true);
|
| dir_->set_store_birthday("Jan 31st");
|
| dir_->SetNotificationState("notification_state");
|
| + dir_->set_bag_of_chips("bag of chips");
|
| {
|
| ReadTransaction trans(FROM_HERE, dir_.get());
|
| EXPECT_TRUE(dir_->initial_sync_ended_for_type(AUTOFILL));
|
| EXPECT_FALSE(dir_->initial_sync_ended_for_type(BOOKMARKS));
|
| EXPECT_EQ("Jan 31st", dir_->store_birthday());
|
| EXPECT_EQ("notification_state", dir_->GetNotificationState());
|
| + EXPECT_EQ("bag of chips", dir_->bag_of_chips());
|
| }
|
| dir_->set_store_birthday("April 10th");
|
| dir_->SetNotificationState("notification_state2");
|
| + dir_->set_bag_of_chips("bag of chips2");
|
| dir_->SaveChanges();
|
| {
|
| ReadTransaction trans(FROM_HERE, dir_.get());
|
| @@ -1599,6 +1602,7 @@ TEST_F(OnDiskSyncableDirectoryTest, TestShareInfo) {
|
| EXPECT_FALSE(dir_->initial_sync_ended_for_type(BOOKMARKS));
|
| EXPECT_EQ("April 10th", dir_->store_birthday());
|
| EXPECT_EQ("notification_state2", dir_->GetNotificationState());
|
| + EXPECT_EQ("bag of chips2", dir_->bag_of_chips());
|
| }
|
| dir_->SetNotificationState("notification_state2");
|
| // Restore the directory from disk. Make sure that nothing's changed.
|
| @@ -1609,6 +1613,7 @@ TEST_F(OnDiskSyncableDirectoryTest, TestShareInfo) {
|
| EXPECT_FALSE(dir_->initial_sync_ended_for_type(BOOKMARKS));
|
| EXPECT_EQ("April 10th", dir_->store_birthday());
|
| EXPECT_EQ("notification_state2", dir_->GetNotificationState());
|
| + EXPECT_EQ("bag of chips2", dir_->bag_of_chips());
|
| }
|
| }
|
|
|
|
|