Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: components/autofill/core/common/autofill_util.h

Issue 2411333004: Make HasAutocompleteAttributeValue handle multi-valued strings (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/common/autofill_util.h
diff --git a/components/autofill/core/common/autofill_util.h b/components/autofill/core/common/autofill_util.h
index 519b3cbe4f3b33563352796517d30fee1a4f7396..75447e82dc30a469fcbcaebe7598e7963e01204b 100644
--- a/components/autofill/core/common/autofill_util.h
+++ b/components/autofill/core/common/autofill_util.h
@@ -51,6 +51,10 @@ void SetCheckStatus(FormFieldData* form_field_data,
bool isCheckable,
bool isChecked);
+// 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.
+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.
+ const std::string& attribute);
+
} // namespace autofill
#endif // COMPONENTS_AUTOFILL_CORE_COMMON_AUTOFILL_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698