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

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: Fix compile error on Chrome OS. 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 9b01b5d2a61aa6c6da003472065b0c4e092c4d6a..a93d00b1f0cd75d686b87dfff5b5320f0c3e7fa0 100644
--- a/components/autofill/content/common/autofill_messages.h
+++ b/components/autofill/content/common/autofill_messages.h
@@ -138,9 +138,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
palmer 2014/04/03 19:02:38 Nit: Say who does the accepting: "Tells the render
Patrick Dubroy 2014/04/23 17:57:31 Done.
+// that the username and password should be set to the given values.
palmer 2014/04/03 19:02:38 ...and say who should to the setting: "...that the
Patrick Dubroy 2014/04/23 17:57:31 Done.
+IPC_MESSAGE_ROUTED2(AutofillMsg_AcceptPasswordAutofillSuggestion,
+ base::string16 /* username */,
+ base::string16 /* password */)
// 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