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

Side by Side Diff: components/autofill/core/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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_AUTOFILL_BROWSER_NAME_FIELD_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_NAME_FIELD_H_
6 #define COMPONENTS_AUTOFILL_BROWSER_NAME_FIELD_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_NAME_FIELD_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/gtest_prod_util.h" 11 #include "base/gtest_prod_util.h"
12 #include "components/autofill/browser/autofill_field.h" 12 #include "components/autofill/core/browser/autofill_field.h"
13 #include "components/autofill/browser/form_field.h" 13 #include "components/autofill/core/browser/form_field.h"
14 14
15 namespace autofill { 15 namespace autofill {
16 16
17 class AutofillScanner; 17 class AutofillScanner;
18 18
19 // A form field that can parse either a FullNameField or a FirstLastNameField. 19 // A form field that can parse either a FullNameField or a FirstLastNameField.
20 class NameField : public FormField { 20 class NameField : public FormField {
21 public: 21 public:
22 static FormField* Parse(AutofillScanner* scanner); 22 static FormField* Parse(AutofillScanner* scanner);
23 23
(...skipping 12 matching lines...) Expand all
36 FRIEND_TEST_ALL_PREFIXES(NameFieldTest, FirstLastEmpty); 36 FRIEND_TEST_ALL_PREFIXES(NameFieldTest, FirstLastEmpty);
37 FRIEND_TEST_ALL_PREFIXES(NameFieldTest, FirstMiddleLastEmpty); 37 FRIEND_TEST_ALL_PREFIXES(NameFieldTest, FirstMiddleLastEmpty);
38 FRIEND_TEST_ALL_PREFIXES(NameFieldTest, MiddleInitial); 38 FRIEND_TEST_ALL_PREFIXES(NameFieldTest, MiddleInitial);
39 FRIEND_TEST_ALL_PREFIXES(NameFieldTest, MiddleInitialAtEnd); 39 FRIEND_TEST_ALL_PREFIXES(NameFieldTest, MiddleInitialAtEnd);
40 40
41 DISALLOW_COPY_AND_ASSIGN(NameField); 41 DISALLOW_COPY_AND_ASSIGN(NameField);
42 }; 42 };
43 43
44 } // namespace autofill 44 } // namespace autofill
45 45
46 #endif // COMPONENTS_AUTOFILL_BROWSER_NAME_FIELD_H_ 46 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_NAME_FIELD_H_
OLDNEW
« no previous file with comments | « components/autofill/core/browser/form_structure_unittest.cc ('k') | components/autofill/core/browser/name_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698