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

Unified Diff: components/autofill/browser/name_field.h

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflicts Created 7 years, 6 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 | « components/autofill/browser/form_structure_unittest.cc ('k') | components/autofill/browser/name_field.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/browser/name_field.h
diff --git a/components/autofill/browser/name_field.h b/components/autofill/browser/name_field.h
deleted file mode 100644
index a434bc1151196b54ff7644be5c63015cc4e538ad..0000000000000000000000000000000000000000
--- a/components/autofill/browser/name_field.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright (c) 2011 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_BROWSER_NAME_FIELD_H_
-#define COMPONENTS_AUTOFILL_BROWSER_NAME_FIELD_H_
-
-#include <vector>
-
-#include "base/compiler_specific.h"
-#include "base/gtest_prod_util.h"
-#include "components/autofill/browser/autofill_field.h"
-#include "components/autofill/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(FieldTypeMap* 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_BROWSER_NAME_FIELD_H_
« no previous file with comments | « components/autofill/browser/form_structure_unittest.cc ('k') | components/autofill/browser/name_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698