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

Unified Diff: chrome/browser/ui/webui/options/password_manager_handler.cc

Issue 34393007: [Win] Add option to reauthenticate the OS user before revealing passwords. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@password
Patch Set: rebase, and fix issue with last_changed return value Created 7 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: chrome/browser/ui/webui/options/password_manager_handler.cc
diff --git a/chrome/browser/ui/webui/options/password_manager_handler.cc b/chrome/browser/ui/webui/options/password_manager_handler.cc
index 9b4382585906991e7cc8339640a426eeb62a738b..846947f473f234792718ac5142cadc1ea2b2abb5 100644
--- a/chrome/browser/ui/webui/options/password_manager_handler.cc
+++ b/chrome/browser/ui/webui/options/password_manager_handler.cc
@@ -34,6 +34,10 @@ Profile* PasswordManagerHandler::GetProfile() {
return Profile::FromWebUI(web_ui());
}
+content::WebContents* PasswordManagerHandler::GetWebContents() {
+ return web_ui()->GetWebContents();
+}
+
void PasswordManagerHandler::GetLocalizedValues(
DictionaryValue* localized_strings) {
DCHECK(localized_strings);

Powered by Google App Engine
This is Rietveld 408576698