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

Unified Diff: components/autofill/core/browser/form_structure_unittest.cc

Issue 1059393002: Remove --respect-autocomplete-off-autofill flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix last 3 tests Created 5 years, 8 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/autofill/core/browser/form_structure_unittest.cc
diff --git a/components/autofill/core/browser/form_structure_unittest.cc b/components/autofill/core/browser/form_structure_unittest.cc
index 6ebfd8b4a38a2ff1fe2ecdd8163cca2a00b07596..a437aa4234624270fc70d66c474023d938365dba 100644
--- a/components/autofill/core/browser/form_structure_unittest.cc
+++ b/components/autofill/core/browser/form_structure_unittest.cc
@@ -130,13 +130,6 @@ TEST(FormStructureTest, AutofillCount) {
form_structure.reset(new FormStructure(form));
form_structure->DetermineHeuristicTypes();
EXPECT_EQ(4U, form_structure->autofill_count());
-
- base::CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kRespectAutocompleteOffForAutofill);
-
- form_structure.reset(new FormStructure(form));
- form_structure->DetermineHeuristicTypes();
- EXPECT_EQ(3U, form_structure->autofill_count());
}
TEST(FormStructureTest, SourceURL) {

Powered by Google App Engine
This is Rietveld 408576698