| Index: components/password_manager/core/browser/password_generation_manager_unittest.cc
|
| diff --git a/components/password_manager/core/browser/password_generation_manager_unittest.cc b/components/password_manager/core/browser/password_generation_manager_unittest.cc
|
| index f8095609c5fa52ce801f853afee69def7af72150..f5fe0637b3e25ea72e6654384db29c1c23f8eec3 100644
|
| --- a/components/password_manager/core/browser/password_generation_manager_unittest.cc
|
| +++ b/components/password_manager/core/browser/password_generation_manager_unittest.cc
|
| @@ -113,7 +113,7 @@ class PasswordGenerationManagerTest : public testing::Test {
|
| // indirectly cause those prefs to be immediately accessed.
|
| std::unique_ptr<TestingPrefServiceSimple> prefs(
|
| new TestingPrefServiceSimple());
|
| - prefs->registry()->RegisterBooleanPref(prefs::kPasswordManagerSavingEnabled,
|
| + prefs->registry()->RegisterBooleanPref(prefs::kCredentialsEnableService,
|
| true);
|
| client_.reset(new MockPasswordManagerClient(std::move(prefs)));
|
| }
|
| @@ -267,7 +267,7 @@ TEST_F(PasswordGenerationManagerTest, UpdatePasswordSyncStateIncognito) {
|
| // be disabled.
|
| EXPECT_CALL(*client_, IsOffTheRecord()).WillRepeatedly(testing::Return(true));
|
| PrefService* prefs = client_->GetPrefs();
|
| - prefs->SetBoolean(prefs::kPasswordManagerSavingEnabled, true);
|
| + prefs->SetBoolean(prefs::kCredentialsEnableService, true);
|
| EXPECT_CALL(*client_, GetPasswordSyncState())
|
| .WillRepeatedly(testing::Return(SYNCING_NORMAL_ENCRYPTION));
|
|
|
|
|