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

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: Remove spurious logging code. Add clock skew factor. Created 7 years, 1 month 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 a420edb23303dcb933911fd379085f7d4fd9f8e7..da5980949b49c0b9d05763b3dab786c6574c7a35 100644
--- a/chrome/browser/ui/webui/options/password_manager_handler.cc
+++ b/chrome/browser/ui/webui/options/password_manager_handler.cc
@@ -163,7 +163,7 @@ void PasswordManagerHandler::RequestShowPassword(const ListValue* args) {
}
if (IsAuthenticationRequired()) {
- if (password_manager_util::AuthenticateUser())
+ if (password_manager_util::AuthenticateUser(web_ui()->GetWebContents()))
last_authentication_time_ = base::TimeTicks::Now();
else
return;

Powered by Google App Engine
This is Rietveld 408576698