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

Unified Diff: components/autofill/content/renderer/password_generation_agent.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 side-by-side diff with in-line comments
Download patch
Index: components/autofill/content/renderer/password_generation_agent.h
diff --git a/components/autofill/content/renderer/password_generation_agent.h b/components/autofill/content/renderer/password_generation_agent.h
index d5ae1ee505a5513a88c2e3456dfd88bdd0cc1519..b36b74c680ad2cd1221fad23993dfae023d3fe5a 100644
--- a/components/autofill/content/renderer/password_generation_agent.h
+++ b/components/autofill/content/renderer/password_generation_agent.h
@@ -107,6 +107,10 @@ class PasswordGenerationAgent : public content::RenderFrameObserver {
// generation popup at this field.
void OnUserTriggeredGeneratePassword();
+ // Runs HTML parsing based classifier and saves its outcome to proto.
+ void RunFormClassifierAndSaveVote(blink::WebFormElement& web_form,
dvadym 2016/06/16 10:04:38 Can we use const blink::WebFormElement&?
kolos1 2016/06/16 13:28:44 Done.
+ const PasswordForm& form);
+
// Creates a password form to presave a generated password. It copies behavior
// of CreatePasswordFormFromWebForm/FromUnownedInputElements, but takes
// |password_value| from |generation_element_| and empties |username_value|.

Powered by Google App Engine
This is Rietveld 408576698