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

Side by Side Diff: chrome/browser/ui/passwords/password_manager_presenter.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 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 // reauthenticate before revealing plaintext passwords. 125 // reauthenticate before revealing plaintext passwords.
126 bool require_reauthentication_; 126 bool require_reauthentication_;
127 127
128 // The last time the user was successfully authenticated. 128 // The last time the user was successfully authenticated.
129 // Used to determine whether or not to reveal plaintext passwords. 129 // Used to determine whether or not to reveal plaintext passwords.
130 base::TimeTicks last_authentication_time_; 130 base::TimeTicks last_authentication_time_;
131 131
132 // UI view that owns this presenter. 132 // UI view that owns this presenter.
133 PasswordUIView* password_view_; 133 PasswordUIView* password_view_;
134 134
135 // User pref for storing accept languages.
136 std::string languages_;
137
135 DISALLOW_COPY_AND_ASSIGN(PasswordManagerPresenter); 138 DISALLOW_COPY_AND_ASSIGN(PasswordManagerPresenter);
136 }; 139 };
137 140
138 #endif // CHROME_BROWSER_UI_PASSWORDS_PASSWORD_MANAGER_PRESENTER_H_ 141 #endif // CHROME_BROWSER_UI_PASSWORDS_PASSWORD_MANAGER_PRESENTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698