| 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_AUTOFILL_FIELD_H_ | 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_FIELD_H_ |
| 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_FIELD_H_ | 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_FIELD_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/basictypes.h" |
| 11 #include "base/string16.h" | 12 #include "base/string16.h" |
| 12 #include "chrome/browser/autofill/field_types.h" | 13 #include "chrome/browser/autofill/field_types.h" |
| 13 #include "webkit/glue/form_field.h" | 14 #include "webkit/glue/form_field.h" |
| 14 | 15 |
| 15 class AutofillField : public webkit_glue::FormField { | 16 class AutofillField : public webkit_glue::FormField { |
| 16 public: | 17 public: |
| 17 AutofillField(); | 18 AutofillField(); |
| 18 AutofillField(const webkit_glue::FormField& field, | 19 AutofillField(const webkit_glue::FormField& field, |
| 19 const string16& unique_name); | 20 const string16& unique_name); |
| 20 virtual ~AutofillField(); | 21 virtual ~AutofillField(); |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 // The type of the field, as determined by the local heuristics. | 58 // The type of the field, as determined by the local heuristics. |
| 58 AutofillFieldType heuristic_type_; | 59 AutofillFieldType heuristic_type_; |
| 59 | 60 |
| 60 // The set of possible types for this field. | 61 // The set of possible types for this field. |
| 61 FieldTypeSet possible_types_; | 62 FieldTypeSet possible_types_; |
| 62 | 63 |
| 63 DISALLOW_COPY_AND_ASSIGN(AutofillField); | 64 DISALLOW_COPY_AND_ASSIGN(AutofillField); |
| 64 }; | 65 }; |
| 65 | 66 |
| 66 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_FIELD_H_ | 67 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_FIELD_H_ |
| OLD | NEW |