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 0fa84302fedee7c1cc7d7e4f5b3aeca4af514d47..9af06a4455e55d42bc753b7be63da4008e1688be 100644 |
--- a/components/autofill/content/common/autofill_messages.h |
+++ b/components/autofill/content/common/autofill_messages.h |
@@ -142,9 +142,15 @@ IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion, |
IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, |
base::string16 /* generated_password */) |
-// Tells the renderer that the user accepted a password autofill suggestion, |
-// and that renderer should set the username and password to the given values. |
-IPC_MESSAGE_ROUTED2(AutofillMsg_AcceptPasswordAutofillSuggestion, |
+// Tells the renderer to fill the username and password with with given |
Ilya Sherman
2014/05/15 21:36:09
nit: You have an extra space between "the" and "us
ziran.sun
2014/05/16 09:18:13
Done.
|
+// values. |
+IPC_MESSAGE_ROUTED2(AutofillMsg_FillPasswordSuggestion, |
+ base::string16 /* username */, |
+ base::string16 /* password */) |
+ |
+// Tells the renderer to preview the username and password with the given |
+// values. |
+IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewPasswordSuggestion, |
base::string16 /* username */, |
base::string16 /* password */) |