| 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_FIELD_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_FIELD_H_ |
| 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_FIELD_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_FIELD_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 12 #include "components/autofill/browser/field_types.h" | 12 #include "components/autofill/core/browser/field_types.h" |
| 13 #include "components/autofill/core/common/form_field_data.h" | 13 #include "components/autofill/core/common/form_field_data.h" |
| 14 | 14 |
| 15 namespace autofill { | 15 namespace autofill { |
| 16 | 16 |
| 17 class AutofillField : public FormFieldData { | 17 class AutofillField : public FormFieldData { |
| 18 public: | 18 public: |
| 19 enum PhonePart { | 19 enum PhonePart { |
| 20 IGNORED = 0, | 20 IGNORED = 0, |
| 21 PHONE_PREFIX = 1, | 21 PHONE_PREFIX = 1, |
| 22 PHONE_SUFFIX = 2, | 22 PHONE_SUFFIX = 2, |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 PhonePart phone_part_; | 82 PhonePart phone_part_; |
| 83 | 83 |
| 84 // The default value returned by the Autofill server. | 84 // The default value returned by the Autofill server. |
| 85 std::string default_value_; | 85 std::string default_value_; |
| 86 | 86 |
| 87 DISALLOW_COPY_AND_ASSIGN(AutofillField); | 87 DISALLOW_COPY_AND_ASSIGN(AutofillField); |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 } // namespace autofill | 90 } // namespace autofill |
| 91 | 91 |
| 92 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_FIELD_H_ | 92 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_FIELD_H_ |
| OLD | NEW |