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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_state.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: chrome/browser/ui/passwords/manage_passwords_state.h
diff --git a/chrome/browser/ui/passwords/manage_passwords_state.h b/chrome/browser/ui/passwords/manage_passwords_state.h
index f05f0dbf5a8eac1c28cbba8b2fe1d9091726ea72..990758cb7ba0c96918fdc3966d32c4ff52b349e7 100644
--- a/chrome/browser/ui/passwords/manage_passwords_state.h
+++ b/chrome/browser/ui/passwords/manage_passwords_state.h
@@ -61,7 +61,11 @@ class ManagePasswordsState {
scoped_ptr<password_manager::PasswordFormManager> form_manager);
// Move to MANAGE_STATE or INACTIVE_STATE for PSL matched passwords.
- void OnPasswordAutofilled(const autofill::PasswordFormMap& password_form_map);
+ // |password_form_map| contains best matches from the password store for the
+ // form which was autofilled, |origin| is an origin of the form which was
+ // autofilled.
+ void OnPasswordAutofilled(const autofill::PasswordFormMap& password_form_map,
+ const GURL& origin);
// Move to INACTIVE_STATE.
void OnInactive();

Powered by Google App Engine
This is Rietveld 408576698