OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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_CHROMEOS_LOGIN_QUICK_UNLOCK_QUICK_UNLOCK_UTILS_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_QUICK_UNLOCK_QUICK_UNLOCK_UTILS_H_ |
| 7 |
| 8 namespace chromeos { |
| 9 |
| 10 // Returns true if quick unlock is allowed by policy and the feature flag is |
| 11 // present. |
| 12 bool IsQuickUnlockEnabled(); |
| 13 |
| 14 // Forcibly enable quick-unlock for testing. |
| 15 void EnableQuickUnlockForTesting(); |
| 16 |
| 17 } // namespace chromeos |
| 18 |
| 19 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_QUICK_UNLOCK_QUICK_UNLOCK_UTILS_H_ |
OLD | NEW |