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

Unified Diff: chrome/browser/autofill/form_structure_browsertest.cc

Issue 12260054: [Autofill] Enable heuristic detection of credit card issuer fields. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 10 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 | « chrome/browser/autofill/form_field.cc ('k') | chrome/browser/autofill/name_field.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/form_structure_browsertest.cc
diff --git a/chrome/browser/autofill/form_structure_browsertest.cc b/chrome/browser/autofill/form_structure_browsertest.cc
index 1d042dc36d7122f736b9282ff890f2e3171e871e..a4bb6519647844857ee7c90b2fc67c7abb9c4b90 100644
--- a/chrome/browser/autofill/form_structure_browsertest.cc
+++ b/chrome/browser/autofill/form_structure_browsertest.cc
@@ -4,7 +4,6 @@
#include <vector>
-#include "base/command_line.h"
#include "base/file_path.h"
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
@@ -13,7 +12,6 @@
#include "chrome/browser/autofill/form_structure.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
-#include "chrome/common/chrome_switches.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "googleurl/src/gurl.h"
@@ -38,9 +36,6 @@ class FormStructureBrowserTest : public InProcessBrowserTest,
FormStructureBrowserTest();
virtual ~FormStructureBrowserTest();
- // InProcessBrowserTest:
- virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE;
-
// DataDrivenTest:
virtual void GenerateResults(const std::string& input,
std::string* output) OVERRIDE;
@@ -58,11 +53,6 @@ FormStructureBrowserTest::FormStructureBrowserTest() {
FormStructureBrowserTest::~FormStructureBrowserTest() {
}
-void FormStructureBrowserTest::SetUpCommandLine(CommandLine* command_line) {
- // Include new field types and heuristics in the regression test.
- command_line->AppendSwitch(switches::kEnableNewAutofillHeuristics);
-}
-
void FormStructureBrowserTest::GenerateResults(const std::string& input,
std::string* output) {
ASSERT_NO_FATAL_FAILURE(ui_test_utils::NavigateToURL(browser(),
« no previous file with comments | « chrome/browser/autofill/form_field.cc ('k') | chrome/browser/autofill/name_field.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698