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

Unified Diff: chrome/browser/browsing_data/autofill_counter_browsertest.cc

Issue 2623033003: Always show counters in the material design Clear Browsing Data dialog. (Closed)
Patch Set: iOS fix #2 Created 3 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/browsing_data/cache_counter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data/autofill_counter_browsertest.cc
diff --git a/chrome/browser/browsing_data/autofill_counter_browsertest.cc b/chrome/browser/browsing_data/autofill_counter_browsertest.cc
index bfe972cb3f5444923d66ee802cdcb750b68e6fd8..6e3e1c685efb916ed2e794a2ff32c35e95a332d1 100644
--- a/chrome/browser/browsing_data/autofill_counter_browsertest.cc
+++ b/chrome/browser/browsing_data/autofill_counter_browsertest.cc
@@ -201,20 +201,6 @@ class AutofillCounterTest : public InProcessBrowserTest {
DISALLOW_COPY_AND_ASSIGN(AutofillCounterTest);
};
-// Tests that the counter does not count when the form data deletion preference
-// is false.
-IN_PROC_BROWSER_TEST_F(AutofillCounterTest, PrefIsFalse) {
- SetAutofillDeletionPref(false);
-
- Profile* profile = browser()->profile();
- browsing_data::AutofillCounter counter(GetWebDataService());
- counter.Init(profile->GetPrefs(), base::Bind(&AutofillCounterTest::Callback,
- base::Unretained(this)));
- counter.Restart();
-
- EXPECT_FALSE(counter.HasPendingQuery());
-}
-
// Tests that we count the correct number of autocomplete suggestions.
IN_PROC_BROWSER_TEST_F(AutofillCounterTest, AutocompleteSuggestions) {
Profile* profile = browser()->profile();
« no previous file with comments | « no previous file | chrome/browser/browsing_data/cache_counter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698