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

Unified Diff: components/autofill/core/browser/autofill_manager.cc

Issue 1537003002: autofill: save pasted passwords on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2564
Patch Set: Created 5 years 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/core/browser/autofill_manager.cc
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc
index 50640f164a89935bd5d90d60596aa9d7d5a97f8a..64d731379d5bf54d8519abf87f8057ed40c6ad34 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -346,6 +346,9 @@ void AutofillManager::OnTextFieldDidChange(const FormData& form,
if (!IsValidFormData(form) || !IsValidFormFieldData(field))
return;
+ if (test_delegate_)
+ test_delegate_->OnTextFieldChanged();
+
FormStructure* form_structure = NULL;
AutofillField* autofill_field = NULL;
if (!GetCachedFormAndField(form, field, &form_structure, &autofill_field))

Powered by Google App Engine
This is Rietveld 408576698