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

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

Issue 184103016: Autofill: Refactoring to support fetching password after a username is selected (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address gcasto's comments. Created 6 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_messages.h
diff --git a/components/autofill/content/common/autofill_messages.h b/components/autofill/content/common/autofill_messages.h
index d97dbf1e25641be03a7a002d7cee4dedca4a0784..6d840c6af02781700763a4a6b073ab95450bc695 100644
--- a/components/autofill/content/common/autofill_messages.h
+++ b/components/autofill/content/common/autofill_messages.h
@@ -134,9 +134,11 @@ IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion,
IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted,
base::string16 /* generated_password */)
-// Tells the renderer that the password field has accept the suggestion.
-IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptPasswordAutofillSuggestion,
- base::string16 /* username value*/)
+// Tells the renderer that a password autofill suggestion was accepted, and
+// that the username and password should be set to the given values.
+IPC_MESSAGE_ROUTED2(AutofillMsg_AcceptPasswordAutofillSuggestion,
+ base::string16 /* username value */,
+ base::string16 /* password value */)
Ilya Sherman 2014/03/18 00:14:27 nit: The commented out bits should be variable nam
Patrick Dubroy 2014/03/28 15:44:22 Ok, fixed here.
// Tells the renderer that this password form is not blacklisted. A form can
// be blacklisted if a user chooses "never save passwords for this site".

Powered by Google App Engine
This is Rietveld 408576698