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

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

Issue 688633004: Do not haul suggestions back to browser in AutofillHostMsg_ShowPasswordSuggestions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments removed, iterator renamed Created 6 years, 2 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 25d8277981dcb2355e7f5b637bb87aaaf8a095df..e339a6445bf647809971e24f66b528f2e6d2a25b 100644
--- a/components/autofill/content/common/autofill_messages.h
+++ b/components/autofill/content/common/autofill_messages.h
@@ -285,13 +285,12 @@ IPC_MESSAGE_ROUTED2(AutofillHostMsg_AddPasswordFormMapping,
autofill::FormFieldData, /* the user name field */
autofill::PasswordFormFillData /* password pairings */)
-// Instruct the browser to show a popup with the following suggestions from the
-// password manager.
+// Instruct the browser to show a popup with suggestions for the form field.
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> /* realms */)
+ base::string16 /* username typed by user */,
+ bool /* show all suggestions */,
+ gfx::RectF /* input field bounds, window-relative */)
// Inform browser of data list values for the curent field.
IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,

Powered by Google App Engine
This is Rietveld 408576698