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

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: Fixed compile error for browsertests Created 7 years, 7 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 35b6b69485ea6acd2a1a6f73d767bd38ce7bad36..5faa394b52cceae0cc11d964b8e1e276d2a51a16 100644
--- a/components/autofill/common/autofill_messages.h
+++ b/components/autofill/common/autofill_messages.h
@@ -84,7 +84,11 @@ 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(preferred_is_psl_origin_match)
+ IPC_STRUCT_TRAITS_MEMBER(additional_logins_passwords)
+ IPC_STRUCT_TRAITS_MEMBER(additional_logins_realms)
+ IPC_STRUCT_TRAITS_MEMBER(additional_logins_is_psl_origin_match)
IPC_STRUCT_TRAITS_MEMBER(other_possible_usernames)
IPC_STRUCT_TRAITS_MEMBER(wait_for_username)
IPC_STRUCT_TRAITS_END()
@@ -286,10 +290,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