Index: chrome/browser/ui/passwords/password_ui_view.h |
diff --git a/chrome/browser/ui/passwords/password_ui_view.h b/chrome/browser/ui/passwords/password_ui_view.h |
index 042022015d7d2b67b7d62c0e5273ac70dab03d2f..d17ce409e4058ad567366b8f9846b814ce4ef27b 100644 |
--- a/chrome/browser/ui/passwords/password_ui_view.h |
+++ b/chrome/browser/ui/passwords/password_ui_view.h |
@@ -24,10 +24,16 @@ class PasswordUIView { |
// Returns the profile associated with the currently active profile. |
virtual Profile* GetProfile() = 0; |
- // Reveals the password for the saved password entry at |index| in the UI. |
+ // Reveals the password for the saved password entry with origin URL |
+ // |origin_url| and username |username| at index |index| in the UI. |
// |index| the index of the saved password entry. |
vabr (Chromium)
2015/05/22 09:00:25
nit: This comment line and some below seem to dupl
Kyle Horimoto
2015/05/22 17:52:53
Done.
|
+ // |origin_url| the URL of the saved password entry; should be obtained using |
+ // GetHumanReadableOrigin(). |
+ // |username| the username of the saved password entry. |
// |password_value| the value of saved password entry at |index|. |
virtual void ShowPassword(size_t index, |
+ const std::string& origin_url, |
+ const std::string& username, |
const base::string16& password_value) = 0; |
// Updates the list of passwords in the UI. |