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

Unified Diff: webkit/forms/form_field.h

Issue 9600038: Add Password Autofill Manager to New Autofill (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixing final nits Created 8 years, 9 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
« no previous file with comments | « chrome/renderer/autofill/password_autofill_manager_browsertest.cc ('k') | webkit/forms/form_field.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/forms/form_field.h
diff --git a/webkit/forms/form_field.h b/webkit/forms/form_field.h
index d1b17c0bc7c889485cb565fcd1292aa058b6b16d..618d2f3eb9412c54915f04ec87aa69368409867c 100644
--- a/webkit/forms/form_field.h
+++ b/webkit/forms/form_field.h
@@ -25,6 +25,8 @@ struct WEBKIT_FORMS_EXPORT FormField {
// ids.
bool operator==(const FormField& field) const;
bool operator!=(const FormField& field) const;
+ // Comparsion operator exposed for STL map. Uses label, then name to sort.
+ bool operator<(const FormField& field) const;
string16 label;
string16 name;
« no previous file with comments | « chrome/renderer/autofill/password_autofill_manager_browsertest.cc ('k') | webkit/forms/form_field.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698