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

Unified Diff: chrome/browser/ui/passwords/password_ui_view.h

Issue 1142693003: Implement the chrome.passwordsPrivate API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stevenjb comment. Created 5 years, 6 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/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..3bc7732d99fb9fe15452860ab82167e682edc2cb 100644
--- a/chrome/browser/ui/passwords/password_ui_view.h
+++ b/chrome/browser/ui/passwords/password_ui_view.h
@@ -24,10 +24,15 @@ 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.
// |index| the index of the saved password entry.
+ // |origin_url| the URL of the saved password entry; obtained via
+ // 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.

Powered by Google App Engine
This is Rietveld 408576698