Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_UTIL_H_ | |
| 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_UTIL_H_ | |
| 7 | |
| 8 namespace password_manager_util { | |
| 9 | |
| 10 // Attempts to (re-)authenticate the user of the OS account. Returns true if | |
| 11 // the user was successfully authenticated, or if authentication was not | |
| 12 // possible. On platforms where reauthentication is not possible or does not | |
| 13 // make sense, the default implementation always returns true. | |
| 14 bool AuthenticateUser(); | |
|
Nico
2013/10/18 14:47:57
As is, this api forces the implementation to run a
Patrick Dubroy
2013/10/18 15:24:01
I think on most platforms it will simply call into
| |
| 15 | |
| 16 } // namespace password_manager_util | |
| 17 | |
| 18 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_UTIL_H_ | |
| OLD | NEW |