Index: components/password_manager/core/browser/password_syncable_service_unittest.cc |
diff --git a/components/password_manager/core/browser/password_syncable_service_unittest.cc b/components/password_manager/core/browser/password_syncable_service_unittest.cc |
index 5c38bc553ce8c6a207213eeb35c4bbc19ef621ab..52bdb99fbd443084490b4d8ee54bc1d3aacbbfaf 100644 |
--- a/components/password_manager/core/browser/password_syncable_service_unittest.cc |
+++ b/components/password_manager/core/browser/password_syncable_service_unittest.cc |
@@ -563,7 +563,7 @@ TEST_F(PasswordSyncableServiceTest, FailedProcessSyncChanges) { |
// string. |
TEST_F(PasswordSyncableServiceTest, SerializeEmptyFederation) { |
autofill::PasswordForm form; |
- EXPECT_TRUE(form.federation_origin.unique()); |
+ EXPECT_TRUE(form.federation_origin.opaque()); |
syncer::SyncData data = SyncDataFromPassword(form); |
const sync_pb::PasswordSpecificsData& specifics = GetPasswordSpecifics(data); |
EXPECT_TRUE(specifics.has_federation_url()); |
@@ -571,7 +571,7 @@ TEST_F(PasswordSyncableServiceTest, SerializeEmptyFederation) { |
// Deserialize back. |
form = PasswordFromSpecifics(specifics); |
- EXPECT_TRUE(form.federation_origin.unique()); |
+ EXPECT_TRUE(form.federation_origin.opaque()); |
// Make sure that the Origins uploaded incorrectly are still deserialized |
// correctly. |
@@ -579,7 +579,7 @@ TEST_F(PasswordSyncableServiceTest, SerializeEmptyFederation) { |
sync_pb::PasswordSpecificsData specifics1; |
specifics1.set_federation_url("null"); |
form = PasswordFromSpecifics(specifics1); |
- EXPECT_TRUE(form.federation_origin.unique()); |
+ EXPECT_TRUE(form.federation_origin.opaque()); |
} |
// Serialize empty PasswordForm and make sure the Sync representation is |