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

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

Issue 28713002: [Mac] Add option to reauthenticate the OS user before revealing passwords. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove Mac headers from common file. Created 7 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/webui/options/password_manager_handler.h
diff --git a/chrome/browser/ui/webui/options/password_manager_handler.h b/chrome/browser/ui/webui/options/password_manager_handler.h
index 8dc188edb0840b036bf6946bed0b225a03e7b789..cac31df74393248c1ea0fc73903e148c9958a9c4 100644
--- a/chrome/browser/ui/webui/options/password_manager_handler.h
+++ b/chrome/browser/ui/webui/options/password_manager_handler.h
@@ -123,8 +123,12 @@ class PasswordManagerHandler : public OptionsPageUIHandler,
// Whether to show stored passwords or not.
BooleanPrefMember show_passwords_;
+ // Indicates whether or not the password manager should require the user to
+ // reauthenticate before revealing plaintext passwords.
+ bool require_reauthentication_;
+
// Indicates whether or not the user has recently been authenticated.
- // Used to determine whether or not to reveal plain text passwords.
+ // Used to determine whether or not to reveal plaintext passwords.
bool is_user_authenticated_;
DISALLOW_COPY_AND_ASSIGN(PasswordManagerHandler);

Powered by Google App Engine
This is Rietveld 408576698