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

Unified Diff: chrome/browser/ui/autofill/chrome_autofill_client.cc

Issue 1028163002: Processing USERNAME reply from Autofill server in Password Manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed many reviewer comments 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: chrome/browser/ui/autofill/chrome_autofill_client.cc
diff --git a/chrome/browser/ui/autofill/chrome_autofill_client.cc b/chrome/browser/ui/autofill/chrome_autofill_client.cc
index 173f3bf3badb1196b5be31e00b91519a3992a11d..11871d774bd05bb97c0a0ccc5474f17eb6b269ce 100644
--- a/chrome/browser/ui/autofill/chrome_autofill_client.cc
+++ b/chrome/browser/ui/autofill/chrome_autofill_client.cc
@@ -264,14 +264,16 @@ void ChromeAutofillClient::OnZoomChanged(
HideAutofillPopup();
}
-void ChromeAutofillClient::DetectAccountCreationForms(
+void ChromeAutofillClient::PropagateAutofillPredictions(
content::RenderFrameHost* rfh,
const std::vector<autofill::FormStructure*>& forms) {
password_manager::ContentPasswordManagerDriver* driver =
password_manager::ContentPasswordManagerDriver::GetForRenderFrameHost(
rfh);
- if (driver)
+ if (driver) {
driver->GetPasswordGenerationManager()->DetectAccountCreationForms(forms);
+ driver->GetPasswordManager()->ProcessAutofillPredictions(driver, forms);
+ }
}
void ChromeAutofillClient::DidFillOrPreviewField(

Powered by Google App Engine
This is Rietveld 408576698