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 CHROME_BROWSER_AUTOFILL_CONTACT_INFO_H_ | 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_CONTACT_INFO_H_ |
6 #define CHROME_BROWSER_AUTOFILL_CONTACT_INFO_H_ | 6 #define COMPONENTS_AUTOFILL_BROWSER_CONTACT_INFO_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
11 #include "base/string16.h" | 11 #include "base/string16.h" |
12 #include "chrome/browser/autofill/field_types.h" | 12 #include "components/autofill/browser/field_types.h" |
13 #include "chrome/browser/autofill/form_group.h" | 13 #include "components/autofill/browser/form_group.h" |
14 | 14 |
15 // A form group that stores name information. | 15 // A form group that stores name information. |
16 class NameInfo : public FormGroup { | 16 class NameInfo : public FormGroup { |
17 public: | 17 public: |
18 NameInfo(); | 18 NameInfo(); |
19 NameInfo(const NameInfo& info); | 19 NameInfo(const NameInfo& info); |
20 virtual ~NameInfo(); | 20 virtual ~NameInfo(); |
21 | 21 |
22 NameInfo& operator=(const NameInfo& info); | 22 NameInfo& operator=(const NameInfo& info); |
23 | 23 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 virtual void SetRawInfo(AutofillFieldType type, | 84 virtual void SetRawInfo(AutofillFieldType type, |
85 const string16& value) OVERRIDE; | 85 const string16& value) OVERRIDE; |
86 | 86 |
87 private: | 87 private: |
88 // FormGroup: | 88 // FormGroup: |
89 virtual void GetSupportedTypes(FieldTypeSet* supported_types) const OVERRIDE; | 89 virtual void GetSupportedTypes(FieldTypeSet* supported_types) const OVERRIDE; |
90 | 90 |
91 string16 company_name_; | 91 string16 company_name_; |
92 }; | 92 }; |
93 | 93 |
94 #endif // CHROME_BROWSER_AUTOFILL_CONTACT_INFO_H_ | 94 #endif // COMPONENTS_AUTOFILL_BROWSER_CONTACT_INFO_H_ |
OLD | NEW |