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

Unified Diff: components/password_manager/core/browser/password_syncable_service_unittest.cc

Issue 2716583003: Rename Origin.unique() to opaque().
Patch Set: Update new uses post-rebase Created 3 years, 4 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
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

Powered by Google App Engine
This is Rietveld 408576698