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 bb3a731bfc9e79db44cc7c94de8f7139be63f6a9..3b3363ac5cc114cb929d959d1f30881c9e52ffd3 100644 |
--- a/components/password_manager/core/browser/password_syncable_service_unittest.cc |
+++ b/components/password_manager/core/browser/password_syncable_service_unittest.cc |
@@ -589,7 +589,7 @@ TEST_F(PasswordSyncableServiceTest, MergeEmptyPasswords) { |
// 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()); |
@@ -597,7 +597,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. |
@@ -605,7 +605,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 |