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 COMPONENTS_AUTOFILL_COMMON_FORM_FIELD_DATA_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_COMMON_FORM_FIELD_DATA_H_ |
6 #define COMPONENTS_AUTOFILL_COMMON_FORM_FIELD_DATA_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_COMMON_FORM_FIELD_DATA_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/i18n/rtl.h" | 10 #include "base/i18n/rtl.h" |
11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
12 | 12 |
13 namespace autofill { | 13 namespace autofill { |
14 | 14 |
15 // Stores information about a field in a form. | 15 // Stores information about a field in a form. |
16 struct FormFieldData { | 16 struct FormFieldData { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 EXPECT_EQ(expected.form_control_type, actual.form_control_type); \ | 58 EXPECT_EQ(expected.form_control_type, actual.form_control_type); \ |
59 EXPECT_EQ(expected.autocomplete_attribute, actual.autocomplete_attribute); \ | 59 EXPECT_EQ(expected.autocomplete_attribute, actual.autocomplete_attribute); \ |
60 EXPECT_EQ(expected.max_length, actual.max_length); \ | 60 EXPECT_EQ(expected.max_length, actual.max_length); \ |
61 EXPECT_EQ(expected.is_autofilled, actual.is_autofilled); \ | 61 EXPECT_EQ(expected.is_autofilled, actual.is_autofilled); \ |
62 EXPECT_EQ(expected.is_checked, actual.is_checked); \ | 62 EXPECT_EQ(expected.is_checked, actual.is_checked); \ |
63 EXPECT_EQ(expected.is_checkable, actual.is_checkable); \ | 63 EXPECT_EQ(expected.is_checkable, actual.is_checkable); \ |
64 } while (0) | 64 } while (0) |
65 | 65 |
66 } // namespace autofill | 66 } // namespace autofill |
67 | 67 |
68 #endif // COMPONENTS_AUTOFILL_COMMON_FORM_FIELD_DATA_H_ | 68 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_FORM_FIELD_DATA_H_ |
69 | 69 |
OLD | NEW |