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 #include "components/autofill/common/form_field_data.h" | 5 #include "components/autofill/common/form_field_data.h" |
6 | 6 |
7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
8 #include "base/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 | 9 |
10 namespace autofill { | 10 namespace autofill { |
11 | 11 |
12 FormFieldData::FormFieldData() | 12 FormFieldData::FormFieldData() |
13 : max_length(0), | 13 : max_length(0), |
14 is_autofilled(false), | 14 is_autofilled(false), |
15 is_checked(false), | 15 is_checked(false), |
16 is_checkable(false), | 16 is_checkable(false), |
17 is_focusable(false), | 17 is_focusable(false), |
18 should_autocomplete(true) { | 18 should_autocomplete(true) { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 << (field.is_checked ? "true" : "false") | 61 << (field.is_checked ? "true" : "false") |
62 << " " | 62 << " " |
63 << (field.is_checkable ? "true" : "false") | 63 << (field.is_checkable ? "true" : "false") |
64 << " " | 64 << " " |
65 << (field.is_focusable ? "true" : "false") | 65 << (field.is_focusable ? "true" : "false") |
66 << " " | 66 << " " |
67 << (field.should_autocomplete ? "true" : "false"); | 67 << (field.should_autocomplete ? "true" : "false"); |
68 } | 68 } |
69 | 69 |
70 } // namespace autofill | 70 } // namespace autofill |
OLD | NEW |