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

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

Issue 1402803002: [Password Manager] Pass origin of the form which was autofilled in order to display it in managemen… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/password_manager/core/browser/password_manager_client.h
diff --git a/components/password_manager/core/browser/password_manager_client.h b/components/password_manager/core/browser/password_manager_client.h
index b7cc4b9f3ef67dcfae50b0381e325e68e075a8e3..a3aae545b42bded0e32394b0bd4aa99e5a3e58eb 100644
--- a/components/password_manager/core/browser/password_manager_client.h
+++ b/components/password_manager/core/browser/password_manager_client.h
@@ -108,10 +108,12 @@ class PasswordManagerClient {
// Called when a password is autofilled. |best_matches| contains the
// PasswordForm into which a password was filled: the client may choose to
- // save this to the PasswordStore, for example. Default implementation is a
+ // save this to the PasswordStore, for example. |origin| is the origin of the
+ // form into which a password was filled. Default implementation is a
// noop.
virtual void PasswordWasAutofilled(
- const autofill::PasswordFormMap& best_matches) const;
+ const autofill::PasswordFormMap& best_matches,
+ const GURL& origin) const;
// Called when password autofill is blocked by the blacklist. |best_matches|
// contains the PasswordForm that flags the current site as being on the

Powered by Google App Engine
This is Rietveld 408576698