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

Unified Diff: components/autofill/content/common/autofill_types.mojom

Issue 2747733004: [Password Manager] Send username correction votes (Closed)
Patch Set: Minor changes Created 3 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
Index: components/autofill/content/common/autofill_types.mojom
diff --git a/components/autofill/content/common/autofill_types.mojom b/components/autofill/content/common/autofill_types.mojom
index 8a116447b35c75ea01cd591bd4da0cb030936073..7bf2498699578e3bb77dc00b45485b1cdcb5cbd1 100644
--- a/components/autofill/content/common/autofill_types.mojom
+++ b/components/autofill/content/common/autofill_types.mojom
@@ -150,6 +150,12 @@ struct PasswordFormGenerationData {
uint32 confirmation_field_signature;
};
+// autofill::PossibleUsernamePair
+struct PossibleUsernamePair {
+ string value;
+ string field_name;
+};
+
// autofill::PasswordForm
struct PasswordForm {
PasswordFormScheme scheme;
@@ -161,7 +167,7 @@ struct PasswordForm {
string username_element;
bool username_marked_by_site;
string username_value;
- array<string> other_possible_usernames;
+ array<PossibleUsernamePair> other_possible_usernames;
string password_element;
string password_value;
bool password_value_is_default;

Powered by Google App Engine
This is Rietveld 408576698