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

Side by Side Diff: chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.h

Issue 2538303002: md-settings: Added settings for fingerprint unlock. (Closed)
Patch Set: Rebased. Created 3 years, 10 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 2016 The Chromium Authors. All rights reserved. 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 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_CHROMEOS_LOGIN_QUICK_UNLOCK_QUICK_UNLOCK_UTILS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_QUICK_UNLOCK_QUICK_UNLOCK_UTILS_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_QUICK_UNLOCK_QUICK_UNLOCK_UTILS_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_QUICK_UNLOCK_QUICK_UNLOCK_UTILS_H_
7 7
8 class PrefRegistrySimple; 8 class PrefRegistrySimple;
9 class PrefService; 9 class PrefService;
10 10
(...skipping 10 matching lines...) Expand all
21 WEEK = 3 21 WEEK = 3
22 }; 22 };
23 23
24 // Register quick unlock prefs. 24 // Register quick unlock prefs.
25 void RegisterQuickUnlockProfilePrefs(PrefRegistrySimple* registry); 25 void RegisterQuickUnlockProfilePrefs(PrefRegistrySimple* registry);
26 26
27 // Returns true if PIN unlock is allowed by policy and the quick unlock feature 27 // Returns true if PIN unlock is allowed by policy and the quick unlock feature
28 // flag is present. 28 // flag is present.
29 bool IsPinUnlockEnabled(PrefService* pref_service); 29 bool IsPinUnlockEnabled(PrefService* pref_service);
30 30
31 // Returns true if the fingerprint unlock feature flag is present.
32 bool IsFingerprintUnlockEnabled();
33
31 // Forcibly enable quick-unlock for testing. 34 // Forcibly enable quick-unlock for testing.
32 void EnableQuickUnlockForTesting(); 35 void EnableQuickUnlockForTesting();
33 36
34 } // namespace chromeos 37 } // namespace chromeos
35 38
36 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_QUICK_UNLOCK_QUICK_UNLOCK_UTILS_H_ 39 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_QUICK_UNLOCK_QUICK_UNLOCK_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/chromeos/login/quick_unlock/quick_unlock_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698