OLD | NEW |
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_AUTOFILL_TYPE_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_TYPE_H_ |
6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_TYPE_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_TYPE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "components/autofill/browser/field_types.h" | 13 #include "components/autofill/core/browser/field_types.h" |
14 | 14 |
15 namespace autofill { | 15 namespace autofill { |
16 | 16 |
17 // The high-level description of Autofill types, used to categorize form fields | 17 // The high-level description of Autofill types, used to categorize form fields |
18 // and for associating form fields with form values in the Web Database. | 18 // and for associating form fields with form values in the Web Database. |
19 class AutofillType { | 19 class AutofillType { |
20 public: | 20 public: |
21 enum FieldTypeGroup { | 21 enum FieldTypeGroup { |
22 NO_GROUP, | 22 NO_GROUP, |
23 NAME, | 23 NAME, |
(...skipping 30 matching lines...) Expand all Loading... |
54 private: | 54 private: |
55 AutofillFieldType field_type_; | 55 AutofillFieldType field_type_; |
56 }; | 56 }; |
57 | 57 |
58 typedef AutofillType::FieldTypeGroup FieldTypeGroup; | 58 typedef AutofillType::FieldTypeGroup FieldTypeGroup; |
59 typedef std::set<AutofillFieldType> FieldTypeSet; | 59 typedef std::set<AutofillFieldType> FieldTypeSet; |
60 typedef std::map<base::string16, AutofillFieldType> FieldTypeMap; | 60 typedef std::map<base::string16, AutofillFieldType> FieldTypeMap; |
61 | 61 |
62 } // namespace autofill | 62 } // namespace autofill |
63 | 63 |
64 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_TYPE_H_ | 64 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_TYPE_H_ |
OLD | NEW |