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

Unified Diff: components/autofill/common/autofill_messages.h

Issue 15660018: [autofill] Add support for PSL domain matching for password autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated regexp, sanitized result, escaped form domain and added comments. Created 7 years, 6 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/common/autofill_messages.h
diff --git a/components/autofill/common/autofill_messages.h b/components/autofill/common/autofill_messages.h
index 9f8a05b7184d2bfe0da462c914a85d439bc79d87..00be2b28cf7fb255534b0cb1e23c83cb73ed0d8b 100644
--- a/components/autofill/common/autofill_messages.h
+++ b/components/autofill/common/autofill_messages.h
@@ -84,7 +84,9 @@ IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordFormFillData)
IPC_STRUCT_TRAITS_MEMBER(basic_data)
- IPC_STRUCT_TRAITS_MEMBER(additional_logins)
+ IPC_STRUCT_TRAITS_MEMBER(preferred_realm)
+ IPC_STRUCT_TRAITS_MEMBER(additional_logins_passwords)
+ IPC_STRUCT_TRAITS_MEMBER(additional_logins_realms)
IPC_STRUCT_TRAITS_MEMBER(other_possible_usernames)
IPC_STRUCT_TRAITS_MEMBER(wait_for_username)
IPC_STRUCT_TRAITS_END()
@@ -285,10 +287,11 @@ IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping,
// Instruct the browser to show a popup with the following suggestions from the
// password manager.
-IPC_MESSAGE_ROUTED3(AutofillHostMsg_ShowPasswordSuggestions,
+IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions,
autofill::FormFieldData /* the form field */,
gfx::RectF /* input field bounds, window-relative */,
- std::vector<base::string16> /* suggestions */)
+ std::vector<base::string16> /* suggestions */,
+ std::vector<base::string16> /* suggestions realms */)
// Inform browser of data list values for the curent field.
IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList,

Powered by Google App Engine
This is Rietveld 408576698