| Index: chrome/browser/browsing_data/passwords_counter_browsertest.cc
|
| diff --git a/chrome/browser/browsing_data/passwords_counter_browsertest.cc b/chrome/browser/browsing_data/passwords_counter_browsertest.cc
|
| index 7f69ab778d909f541fe30e41a0997cf436ddb02f..c0bf27638c6c2ea2814321749ce18aff1028e03a 100644
|
| --- a/chrome/browser/browsing_data/passwords_counter_browsertest.cc
|
| +++ b/chrome/browser/browsing_data/passwords_counter_browsertest.cc
|
| @@ -182,22 +182,6 @@ IN_PROC_BROWSER_TEST_F(PasswordsCounterTest, PrefChanged) {
|
| EXPECT_EQ(2u, GetResult());
|
| }
|
|
|
| -// Tests that the counter does not count passwords if the deletion
|
| -// preference is false.
|
| -IN_PROC_BROWSER_TEST_F(PasswordsCounterTest, PrefIsFalse) {
|
| - SetPasswordsDeletionPref(false);
|
| - AddLogin("https://www.google.com", "user", false);
|
| -
|
| - Profile* profile = browser()->profile();
|
| - browsing_data::PasswordsCounter counter(PasswordStoreFactory::GetForProfile(
|
| - profile, ServiceAccessType::EXPLICIT_ACCESS));
|
| - counter.Init(profile->GetPrefs(), base::Bind(&PasswordsCounterTest::Callback,
|
| - base::Unretained(this)));
|
| - counter.Restart();
|
| -
|
| - EXPECT_FALSE(counter.cancelable_task_tracker()->HasTrackedTasks());
|
| -}
|
| -
|
| // Tests that the counter starts counting automatically when
|
| // the password store changes.
|
| IN_PROC_BROWSER_TEST_F(PasswordsCounterTest, StoreChanged) {
|
|
|