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

Side by Side Diff: components/autofill/core/common/autofill_messages.h

Issue 23432002: Generate passwords only for forms that autofill server marks as account creation forms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included message file, hence no include guard. 5 // Multiply-included message file, hence no include guard.
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "components/autofill/core/common/autocheckout_status.h" 10 #include "components/autofill/core/common/autocheckout_status.h"
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 183
184 // Sent when Autocheckout is supported for the current page. The page has to 184 // Sent when Autocheckout is supported for the current page. The page has to
185 // be whitelisted and the Autofill server must have returned Autocheckout page 185 // be whitelisted and the Autofill server must have returned Autocheckout page
186 // metadata. 186 // metadata.
187 IPC_MESSAGE_ROUTED0(AutofillMsg_AutocheckoutSupported) 187 IPC_MESSAGE_ROUTED0(AutofillMsg_AutocheckoutSupported)
188 188
189 // Sent when the current page is actually displayed in the browser, possibly 189 // Sent when the current page is actually displayed in the browser, possibly
190 // after being preloaded. 190 // after being preloaded.
191 IPC_MESSAGE_ROUTED0(AutofillMsg_PageShown) 191 IPC_MESSAGE_ROUTED0(AutofillMsg_PageShown)
192 192
193 IPC_MESSAGE_ROUTED1(AutofillMsg_AccountCreationFormsDetected,
Ilya Sherman 2013/08/29 23:08:13 nit: Please add documentation for this IPC message
zysxqn 2013/09/03 23:00:20 Done.
194 std::vector<GURL> /* form origins */)
Ilya Sherman 2013/08/29 23:08:13 nit: The inline comment should be a variable name.
zysxqn 2013/09/03 23:00:20 Done.
195
193 // Autofill messages sent from the renderer to the browser. 196 // Autofill messages sent from the renderer to the browser.
194 197
195 // TODO(creis): check in the browser that the renderer actually has permission 198 // TODO(creis): check in the browser that the renderer actually has permission
196 // for the URL to avoid compromised renderers talking to the browser. 199 // for the URL to avoid compromised renderers talking to the browser.
197 200
198 // Notification that forms have been seen that are candidates for 201 // Notification that forms have been seen that are candidates for
199 // filling/submitting by the AutofillManager. 202 // filling/submitting by the AutofillManager.
200 IPC_MESSAGE_ROUTED3(AutofillHostMsg_FormsSeen, 203 IPC_MESSAGE_ROUTED3(AutofillHostMsg_FormsSeen,
201 std::vector<autofill::FormData> /* forms */, 204 std::vector<autofill::FormData> /* forms */,
202 base::TimeTicks /* timestamp */, 205 base::TimeTicks /* timestamp */,
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions, 295 IPC_MESSAGE_ROUTED4(AutofillHostMsg_ShowPasswordSuggestions,
293 autofill::FormFieldData /* the form field */, 296 autofill::FormFieldData /* the form field */,
294 gfx::RectF /* input field bounds, window-relative */, 297 gfx::RectF /* input field bounds, window-relative */,
295 std::vector<base::string16> /* suggestions */, 298 std::vector<base::string16> /* suggestions */,
296 std::vector<base::string16> /* realms */) 299 std::vector<base::string16> /* realms */)
297 300
298 // Inform browser of data list values for the curent field. 301 // Inform browser of data list values for the curent field.
299 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 302 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
300 std::vector<base::string16> /* values */, 303 std::vector<base::string16> /* values */,
301 std::vector<base::string16> /* labels */) 304 std::vector<base::string16> /* labels */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698