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

Unified Diff: components/autofill/content/renderer/autofill_agent.cc

Issue 1002653002: [Password Manager] Use XHR completion as a possible signal for form submission (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/autofill_agent.cc
diff --git a/components/autofill/content/renderer/autofill_agent.cc b/components/autofill/content/renderer/autofill_agent.cc
index 25f63ef7d69a0fdbe37d3400ef4d75b37e34b559..4f0dac3b7997ba24e3e6ccf6ef1fa2517ae94681 100644
--- a/components/autofill/content/renderer/autofill_agent.cc
+++ b/components/autofill/content/renderer/autofill_agent.cc
@@ -768,6 +768,14 @@ void AutofillAgent::didAssociateFormControls(const WebVector<WebNode>& nodes) {
}
}
+void AutofillAgent::didRemoveFormControls(const WebVector<WebNode>& nodes) {
+ password_autofill_agent_->OnFormElementsRemoved(nodes);
+}
+
+void AutofillAgent::XHRSucceeded() {
+ password_autofill_agent_->XHRSucceeded();
+}
+
// LegacyAutofillAgent ---------------------------------------------------------
AutofillAgent::LegacyAutofillAgent::LegacyAutofillAgent(
« no previous file with comments | « components/autofill/content/renderer/autofill_agent.h ('k') | components/autofill/content/renderer/password_autofill_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698