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(); |
| 15 |
| 16 } // namespace password_manager_util |
| 17 |
| 18 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_UTIL_H_ |
OLD | NEW |