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

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

Issue 2055633003: [Password Generation] Sends form classifier vote to autofill server (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pg_form_classification
Patch Set: Changed enum values Created 4 years, 6 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 #include <vector> 8 #include <vector>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 // be blacklisted if a user chooses "never save passwords for this site". 200 // be blacklisted if a user chooses "never save passwords for this site".
201 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted, 201 IPC_MESSAGE_ROUTED1(AutofillMsg_FormNotBlacklisted,
202 autofill::PasswordForm /* form checked */) 202 autofill::PasswordForm /* form checked */)
203 203
204 // Sent when Autofill manager gets the query response from the Autofill server 204 // Sent when Autofill manager gets the query response from the Autofill server
205 // and there are fields classified for password generation in the response. 205 // and there are fields classified for password generation in the response.
206 IPC_MESSAGE_ROUTED1( 206 IPC_MESSAGE_ROUTED1(
207 AutofillMsg_FoundFormsEligibleForGeneration, 207 AutofillMsg_FoundFormsEligibleForGeneration,
208 std::vector<autofill::PasswordFormGenerationData> /* forms */) 208 std::vector<autofill::PasswordFormGenerationData> /* forms */)
209 209
210 // Sends the outcome of HTML parsing based form classifier to be saved in
211 // uploaded protobuf.
dvadym 2016/06/16 10:04:38 You shouldn't write what will be done with informa
kolos1 2016/06/16 13:28:44 Done.
212 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SaveFormClassifierVote,
dvadym 2016/06/16 10:04:38 Name of this message should say something about ge
dvadym 2016/06/16 10:04:38 Please move this message to Renderer->Browser mess
kolos1 2016/06/16 13:28:44 Done.
kolos1 2016/06/16 13:28:44 Done.
213 autofill::PasswordForm,
214 base::string16 /* generation field */)
215
210 // Sent when Autofill manager gets the query response from the Autofill server 216 // Sent when Autofill manager gets the query response from the Autofill server
211 // which contains information about username and password fields for some forms. 217 // which contains information about username and password fields for some forms.
212 // |predictions| maps forms to their username fields. 218 // |predictions| maps forms to their username fields.
213 IPC_MESSAGE_ROUTED1(AutofillMsg_AutofillUsernameAndPasswordDataReceived, 219 IPC_MESSAGE_ROUTED1(AutofillMsg_AutofillUsernameAndPasswordDataReceived,
214 FormsPredictionsMap /* predictions */) 220 FormsPredictionsMap /* predictions */)
215 221
216 // Autofill messages sent from the renderer to the browser. 222 // Autofill messages sent from the renderer to the browser.
217 223
218 // TODO(creis): check in the browser that the renderer actually has permission 224 // TODO(creis): check in the browser that the renderer actually has permission
219 // for the URL to avoid compromised renderers talking to the browser. 225 // for the URL to avoid compromised renderers talking to the browser.
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 // Inform browser of data list values for the curent field. 353 // Inform browser of data list values for the curent field.
348 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 354 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
349 std::vector<base::string16> /* values */, 355 std::vector<base::string16> /* values */,
350 std::vector<base::string16> /* labels */) 356 std::vector<base::string16> /* labels */)
351 357
352 // Inform the browser which password form is currently focused, as a response 358 // Inform the browser which password form is currently focused, as a response
353 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form 359 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form
354 // is focused, the response will contain an empty |autofill::PasswordForm|. 360 // is focused, the response will contain an empty |autofill::PasswordForm|.
355 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound, 361 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound,
356 autofill::PasswordForm) 362 autofill::PasswordForm)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698