| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_COMMON_FORM_FIELD_DATA_H_ | 5 #ifndef COMPONENTS_AUTOFILL_COMMON_FORM_FIELD_DATA_H_ |
| 6 #define CHROME_COMMON_FORM_FIELD_DATA_H_ | 6 #define COMPONENTS_AUTOFILL_COMMON_FORM_FIELD_DATA_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| 11 | 11 |
| 12 // Stores information about a field in a form. | 12 // Stores information about a field in a form. |
| 13 struct FormFieldData { | 13 struct FormFieldData { |
| 14 FormFieldData(); | 14 FormFieldData(); |
| 15 ~FormFieldData(); | 15 ~FormFieldData(); |
| 16 | 16 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 EXPECT_EQ(expected.name, actual.name); \ | 52 EXPECT_EQ(expected.name, actual.name); \ |
| 53 EXPECT_EQ(expected.value, actual.value); \ | 53 EXPECT_EQ(expected.value, actual.value); \ |
| 54 EXPECT_EQ(expected.form_control_type, actual.form_control_type); \ | 54 EXPECT_EQ(expected.form_control_type, actual.form_control_type); \ |
| 55 EXPECT_EQ(expected.autocomplete_attribute, actual.autocomplete_attribute); \ | 55 EXPECT_EQ(expected.autocomplete_attribute, actual.autocomplete_attribute); \ |
| 56 EXPECT_EQ(expected.max_length, actual.max_length); \ | 56 EXPECT_EQ(expected.max_length, actual.max_length); \ |
| 57 EXPECT_EQ(expected.is_autofilled, actual.is_autofilled); \ | 57 EXPECT_EQ(expected.is_autofilled, actual.is_autofilled); \ |
| 58 EXPECT_EQ(expected.is_checked, actual.is_checked); \ | 58 EXPECT_EQ(expected.is_checked, actual.is_checked); \ |
| 59 EXPECT_EQ(expected.is_checkable, actual.is_checkable); \ | 59 EXPECT_EQ(expected.is_checkable, actual.is_checkable); \ |
| 60 } while (0) | 60 } while (0) |
| 61 | 61 |
| 62 #endif // CHROME_COMMON_FORM_FIELD_DATA_H_ | 62 #endif // COMPONENTS_AUTOFILL_COMMON_FORM_FIELD_DATA_H_ |
| OLD | NEW |