OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_LOCK_SCREEN_LOCKER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_SCREEN_LOCKER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_SCREEN_LOCKER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_SCREEN_LOCKER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 }; | 196 }; |
197 | 197 |
198 ~ScreenLocker() override; | 198 ~ScreenLocker() override; |
199 | 199 |
200 // fingerprint::mojom::FingerprintObserver: | 200 // fingerprint::mojom::FingerprintObserver: |
201 void OnAuthScanDone( | 201 void OnAuthScanDone( |
202 uint32_t scan_result, | 202 uint32_t scan_result, |
203 const std::unordered_map<std::string, std::vector<std::string>>& matches) | 203 const std::unordered_map<std::string, std::vector<std::string>>& matches) |
204 override; | 204 override; |
205 void OnSessionFailed() override; | 205 void OnSessionFailed() override; |
206 void OnRestarted() override{}; | 206 void OnRestarted() override {} |
207 void OnEnrollScanDone(uint32_t scan_result, | 207 void OnEnrollScanDone(uint32_t scan_result, |
208 bool enroll_session_complete, | 208 bool enroll_session_complete, |
209 int percent_complete) override{}; | 209 int percent_complete) override {} |
210 | 210 |
211 void OnFingerprintAuthFailure(const user_manager::User& user); | 211 void OnFingerprintAuthFailure(const user_manager::User& user); |
212 | 212 |
213 // Sets the authenticator. | 213 // Sets the authenticator. |
214 void SetAuthenticator(Authenticator* authenticator); | 214 void SetAuthenticator(Authenticator* authenticator); |
215 | 215 |
216 // Called when the screen lock is ready. | 216 // Called when the screen lock is ready. |
217 void ScreenLockReady(); | 217 void ScreenLockReady(); |
218 | 218 |
219 // Called when screen locker is safe to delete. | 219 // Called when screen locker is safe to delete. |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 std::unique_ptr<ViewsScreenLocker> views_screen_locker_; | 286 std::unique_ptr<ViewsScreenLocker> views_screen_locker_; |
287 | 287 |
288 base::WeakPtrFactory<ScreenLocker> weak_factory_; | 288 base::WeakPtrFactory<ScreenLocker> weak_factory_; |
289 | 289 |
290 DISALLOW_COPY_AND_ASSIGN(ScreenLocker); | 290 DISALLOW_COPY_AND_ASSIGN(ScreenLocker); |
291 }; | 291 }; |
292 | 292 |
293 } // namespace chromeos | 293 } // namespace chromeos |
294 | 294 |
295 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_SCREEN_LOCKER_H_ | 295 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_SCREEN_LOCKER_H_ |
OLD | NEW |