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

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: Rebased 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 cf1ff3dbe5afa6acef9e7bb147c87b2229a0baf8..3bd2af9d9855e71a33a1f9391e42a3404d5409fd 100644
--- a/components/autofill/common/autofill_messages.h
+++ b/components/autofill/common/autofill_messages.h
@@ -89,11 +89,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.
@@ -294,10 +300,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 */)
Ilya Sherman 2013/06/19 09:40:54 nit: Though not all of the code in this file does
nyquist 2013/06/19 22:56:06 Done.
// Inform browser of data list values for the curent field.
IPC_MESSAGE_ROUTED4(AutofillHostMsg_SetDataList,

Powered by Google App Engine
This is Rietveld 408576698