| 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 CHROME_BROWSER_AUTOFILL_CONTACT_INFO_H_ |
| 6 #define CHROME_BROWSER_AUTOFILL_CONTACT_INFO_H_ | 6 #define CHROME_BROWSER_AUTOFILL_CONTACT_INFO_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "base/string16.h" | 12 #include "base/string16.h" |
| 13 #include "chrome/browser/autofill/field_types.h" |
| 13 #include "chrome/browser/autofill/form_group.h" | 14 #include "chrome/browser/autofill/form_group.h" |
| 14 | 15 |
| 15 // A form group that stores name information. | 16 // A form group that stores name information. |
| 16 class NameInfo : public FormGroup { | 17 class NameInfo : public FormGroup { |
| 17 public: | 18 public: |
| 18 NameInfo(); | 19 NameInfo(); |
| 19 NameInfo(const NameInfo& info); | 20 NameInfo(const NameInfo& info); |
| 20 virtual ~NameInfo(); | 21 virtual ~NameInfo(); |
| 21 | 22 |
| 22 NameInfo& operator=(const NameInfo& info); | 23 NameInfo& operator=(const NameInfo& info); |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 const string16& info, | 141 const string16& info, |
| 141 std::vector<string16>* matched_text) const; | 142 std::vector<string16>* matched_text) const; |
| 142 virtual string16 GetInfo(AutofillFieldType type) const; | 143 virtual string16 GetInfo(AutofillFieldType type) const; |
| 143 virtual void SetInfo(AutofillFieldType type, const string16& value); | 144 virtual void SetInfo(AutofillFieldType type, const string16& value); |
| 144 | 145 |
| 145 private: | 146 private: |
| 146 string16 company_name_; | 147 string16 company_name_; |
| 147 }; | 148 }; |
| 148 | 149 |
| 149 #endif // CHROME_BROWSER_AUTOFILL_CONTACT_INFO_H_ | 150 #endif // CHROME_BROWSER_AUTOFILL_CONTACT_INFO_H_ |
| OLD | NEW |