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

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

Issue 2073143002: [Password Generation] Run the form classifier only if AutofillMetadata is enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pg_classifier_votes
Patch Set: Removed unnecessary ';' 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 161
162 // Sets the currently selected node's value to be the given data list value. 162 // Sets the currently selected node's value to be the given data list value.
163 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion, 163 IPC_MESSAGE_ROUTED1(AutofillMsg_AcceptDataListSuggestion,
164 base::string16 /* accepted data list value */) 164 base::string16 /* accepted data list value */)
165 165
166 // Tells the renderer to populate the correct password fields with this 166 // Tells the renderer to populate the correct password fields with this
167 // generated password. 167 // generated password.
168 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted, 168 IPC_MESSAGE_ROUTED1(AutofillMsg_GeneratedPasswordAccepted,
169 base::string16 /* generated_password */) 169 base::string16 /* generated_password */)
170 170
171 // Tells the renderer to enable the form classifier.
172 IPC_MESSAGE_ROUTED0(AutofillMsg_AllowToRunFormClassifier)
173
171 // Tells the renderer to fill the username and password with with given 174 // Tells the renderer to fill the username and password with with given
172 // values. 175 // values.
173 IPC_MESSAGE_ROUTED2(AutofillMsg_FillPasswordSuggestion, 176 IPC_MESSAGE_ROUTED2(AutofillMsg_FillPasswordSuggestion,
174 base::string16 /* username */, 177 base::string16 /* username */,
175 base::string16 /* password */) 178 base::string16 /* password */)
176 179
177 // Tells the renderer to preview the username and password with the given 180 // Tells the renderer to preview the username and password with the given
178 // values. 181 // values.
179 IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewPasswordSuggestion, 182 IPC_MESSAGE_ROUTED2(AutofillMsg_PreviewPasswordSuggestion,
180 base::string16 /* username */, 183 base::string16 /* username */,
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 // Inform browser of data list values for the curent field. 356 // Inform browser of data list values for the curent field.
354 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList, 357 IPC_MESSAGE_ROUTED2(AutofillHostMsg_SetDataList,
355 std::vector<base::string16> /* values */, 358 std::vector<base::string16> /* values */,
356 std::vector<base::string16> /* labels */) 359 std::vector<base::string16> /* labels */)
357 360
358 // Inform the browser which password form is currently focused, as a response 361 // Inform the browser which password form is currently focused, as a response
359 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form 362 // to the |AutofillMsg_FindFocusedPasswordForm| request. If no password form
360 // is focused, the response will contain an empty |autofill::PasswordForm|. 363 // is focused, the response will contain an empty |autofill::PasswordForm|.
361 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound, 364 IPC_MESSAGE_ROUTED1(AutofillHostMsg_FocusedPasswordFormFound,
362 autofill::PasswordForm) 365 autofill::PasswordForm)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698