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

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: Addressed comments from palmer 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..46ac1541ad9b32f74f7990a3b32f8ff458b55b85 100644
--- a/components/autofill/common/autofill_messages.h
+++ b/components/autofill/common/autofill_messages.h
@@ -84,11 +84,17 @@ IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordFormFillData)
IPC_STRUCT_TRAITS_MEMBER(basic_data)
+ IPC_STRUCT_TRAITS_MEMBER(preferred_realm)
IPC_STRUCT_TRAITS_MEMBER(additional_logins)
IPC_STRUCT_TRAITS_MEMBER(other_possible_usernames)
IPC_STRUCT_TRAITS_MEMBER(wait_for_username)
IPC_STRUCT_TRAITS_END()
+IPC_STRUCT_TRAITS_BEGIN(autofill::PasswordAndRealm)
+ IPC_STRUCT_TRAITS_MEMBER(password)
+ IPC_STRUCT_TRAITS_MEMBER(realm)
+IPC_STRUCT_TRAITS_END()
+
IPC_ENUM_TRAITS(WebKit::WebFormElement::AutocompleteResult)
// Autofill messages sent from the browser to the renderer.
@@ -285,10 +291,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