Chromium Code Reviews| Index: chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc |
| diff --git a/chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc b/chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc |
| index 120a4ce175dcd1d18831e10616bac258f8a72600..a01c4b70d2d733b1a1e0cbe41c5f0bb2e3f04711 100644 |
| --- a/chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc |
| +++ b/chrome/browser/webdata/autofill_profile_syncable_service_unittest.cc |
| @@ -57,10 +57,8 @@ MATCHER_P(CheckSyncChanges, n_sync_changes_list, "") { |
| DCHECK(passed->IsValid()); |
| if (passed->change_type() != expected->change_type()) |
| return false; |
| - if (passed->sync_data().GetSpecifics().GetExtension( |
| - sync_pb::autofill_profile).guid() != |
| - expected->sync_data().GetSpecifics().GetExtension( |
| - sync_pb::autofill_profile).guid()) { |
| + if (passed->sync_data().GetSpecifics().autofill_profile().guid() != |
| + expected->sync_data().GetSpecifics().autofill_profile().guid()) { |
| return false; |
| } |
| } |
| @@ -210,9 +208,9 @@ TEST_F(AutofillProfileSyncableServiceTest, GetAllSyncData) { |
| EXPECT_EQ(2U, data.size()); |
| EXPECT_EQ(guid_present1, data.front().GetSpecifics() |
| - .GetExtension(sync_pb::autofill_profile).guid()); |
| + .autofill_profile().guid()); |
|
akalin
2012/03/02 23:56:49
indentation
|
| EXPECT_EQ(guid_present2, data.back().GetSpecifics() |
| - .GetExtension(sync_pb::autofill_profile).guid()); |
| + .autofill_profile().guid()); |
| } |
| TEST_F(AutofillProfileSyncableServiceTest, ProcessSyncChanges) { |