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

Side by Side Diff: chrome/browser/ui/passwords/password_manager_presenter.h

Issue 1846623002: Remove password-manager-reauthentication flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Just rebased Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_PASSWORDS_PASSWORD_MANAGER_PRESENTER_H_ 5 #ifndef CHROME_BROWSER_UI_PASSWORDS_PASSWORD_MANAGER_PRESENTER_H_
6 #define CHROME_BROWSER_UI_PASSWORDS_PASSWORD_MANAGER_PRESENTER_H_ 6 #define CHROME_BROWSER_UI_PASSWORDS_PASSWORD_MANAGER_PRESENTER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 ScopedVector<autofill::PasswordForm> results) override; 111 ScopedVector<autofill::PasswordForm> results) override;
112 }; 112 };
113 113
114 // Password store consumer for populating the password list and exceptions. 114 // Password store consumer for populating the password list and exceptions.
115 PasswordListPopulater populater_; 115 PasswordListPopulater populater_;
116 PasswordExceptionListPopulater exception_populater_; 116 PasswordExceptionListPopulater exception_populater_;
117 117
118 std::vector<scoped_ptr<autofill::PasswordForm>> password_list_; 118 std::vector<scoped_ptr<autofill::PasswordForm>> password_list_;
119 std::vector<scoped_ptr<autofill::PasswordForm>> password_exception_list_; 119 std::vector<scoped_ptr<autofill::PasswordForm>> password_exception_list_;
120 120
121 // Whether to show stored passwords or not.
122 BooleanPrefMember show_passwords_;
123
124 // Indicates whether or not the password manager should require the user to
125 // reauthenticate before revealing plaintext passwords.
126 const bool require_reauthentication_;
127
128 // The last time the user was successfully authenticated. 121 // The last time the user was successfully authenticated.
129 // Used to determine whether or not to reveal plaintext passwords. 122 // Used to determine whether or not to reveal plaintext passwords.
130 base::TimeTicks last_authentication_time_; 123 base::TimeTicks last_authentication_time_;
131 124
132 // UI view that owns this presenter. 125 // UI view that owns this presenter.
133 PasswordUIView* password_view_; 126 PasswordUIView* password_view_;
134 127
135 // User pref for storing accept languages. 128 // User pref for storing accept languages.
136 std::string languages_; 129 std::string languages_;
137 130
138 DISALLOW_COPY_AND_ASSIGN(PasswordManagerPresenter); 131 DISALLOW_COPY_AND_ASSIGN(PasswordManagerPresenter);
139 }; 132 };
140 133
141 #endif // CHROME_BROWSER_UI_PASSWORDS_PASSWORD_MANAGER_PRESENTER_H_ 134 #endif // CHROME_BROWSER_UI_PASSWORDS_PASSWORD_MANAGER_PRESENTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698