summaryrefslogtreecommitdiffstats
path: root/chromium/components/autofill/core/browser/name_field.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/autofill/core/browser/name_field.h')
-rw-r--r--chromium/components/autofill/core/browser/name_field.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/chromium/components/autofill/core/browser/name_field.h b/chromium/components/autofill/core/browser/name_field.h
deleted file mode 100644
index e15e7e3d5f7..00000000000
--- a/chromium/components/autofill/core/browser/name_field.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_NAME_FIELD_H_
-#define COMPONENTS_AUTOFILL_CORE_BROWSER_NAME_FIELD_H_
-
-#include <vector>
-
-#include "base/compiler_specific.h"
-#include "base/gtest_prod_util.h"
-#include "components/autofill/core/browser/autofill_field.h"
-#include "components/autofill/core/browser/form_field.h"
-
-namespace autofill {
-
-class AutofillScanner;
-
-// A form field that can parse either a FullNameField or a FirstLastNameField.
-class NameField : public FormField {
- public:
- static FormField* Parse(AutofillScanner* scanner);
-
- protected:
- NameField() {}
-
- // FormField:
- virtual bool ClassifyField(ServerFieldTypeMap* map) const OVERRIDE;
-
- private:
- FRIEND_TEST_ALL_PREFIXES(NameFieldTest, FirstMiddleLast);
- FRIEND_TEST_ALL_PREFIXES(NameFieldTest, FirstMiddleLast2);
- FRIEND_TEST_ALL_PREFIXES(NameFieldTest, FirstLast);
- FRIEND_TEST_ALL_PREFIXES(NameFieldTest, FirstLast2);
- FRIEND_TEST_ALL_PREFIXES(NameFieldTest, FirstLastMiddleWithSpaces);
- FRIEND_TEST_ALL_PREFIXES(NameFieldTest, FirstLastEmpty);
- FRIEND_TEST_ALL_PREFIXES(NameFieldTest, FirstMiddleLastEmpty);
- FRIEND_TEST_ALL_PREFIXES(NameFieldTest, MiddleInitial);
- FRIEND_TEST_ALL_PREFIXES(NameFieldTest, MiddleInitialAtEnd);
-
- DISALLOW_COPY_AND_ASSIGN(NameField);
-};
-
-} // namespace autofill
-
-#endif // COMPONENTS_AUTOFILL_CORE_BROWSER_NAME_FIELD_H_