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

Unified Diff: components/password_manager/core/browser/password_form_manager.h

Issue 773823002: PasswordManager should trigger autofill for new forms + old PasswordFromManagers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't duplicate the blacklist & generation IPC Created 6 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/password_manager/core/browser/password_form_manager.h
diff --git a/components/password_manager/core/browser/password_form_manager.h b/components/password_manager/core/browser/password_form_manager.h
index b3a5c0f2730cadbab22790ce80fedbdb9ebd7665..6228833c3f59f0a34393e533f19c7ecf7f3c520e 100644
--- a/components/password_manager/core/browser/password_form_manager.h
+++ b/components/password_manager/core/browser/password_form_manager.h
@@ -109,6 +109,10 @@ class PasswordFormManager : public PasswordStoreConsumer {
// Takes ownership of the elements in |result|.
void OnRequestDone(const std::vector<autofill::PasswordForm*>& result);
+ // If reasonable, non-blacklisted, candidates were found by the password
+ // store, this will trigger the autofill through PasswordManager.
+ void MaybeTriggerAutofill();
+
void OnGetPasswordStoreResults(
const std::vector<autofill::PasswordForm*>& results) override;

Powered by Google App Engine
This is Rietveld 408576698