Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_CORE_COMMON_AUTOFILL_UTIL_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_UTIL_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_UTIL_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_UTIL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 44 bool IsDesktopPlatform(); | 44 bool IsDesktopPlatform(); |
| 45 | 45 |
| 46 bool ShouldSkipField(const FormFieldData& field); | 46 bool ShouldSkipField(const FormFieldData& field); |
| 47 | 47 |
| 48 bool IsCheckable(const FormFieldData::CheckStatus& check_status); | 48 bool IsCheckable(const FormFieldData::CheckStatus& check_status); |
| 49 bool IsChecked(const FormFieldData::CheckStatus& check_status); | 49 bool IsChecked(const FormFieldData::CheckStatus& check_status); |
| 50 void SetCheckStatus(FormFieldData* form_field_data, | 50 void SetCheckStatus(FormFieldData* form_field_data, |
| 51 bool isCheckable, | 51 bool isCheckable, |
| 52 bool isChecked); | 52 bool isChecked); |
| 53 | 53 |
| 54 // Lowercases and tokenizes a given attribute string. | |
|
vabr (Chromium)
2016/10/13 12:49:31
nit: Here a comment is desired, but perhaps it cou
jdoerrie
2016/10/13 13:45:07
Done.
| |
| 55 std::vector<std::string> LowercaseAndTokenizeAttributeString( | |
|
vabr (Chromium)
2016/10/13 12:49:31
Please
#include <string>
and
#include <vector>.
O
jdoerrie
2016/10/13 13:45:07
Done.
| |
| 56 const std::string& attribute); | |
| 57 | |
| 54 } // namespace autofill | 58 } // namespace autofill |
| 55 | 59 |
| 56 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_UTIL_H_ | 60 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_UTIL_H_ |
| OLD | NEW |