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_SIGNIN_EASY_UNLOCK_SERVICE_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_OBSERVER_H_ |
6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_OBSERVER_H_ | 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_OBSERVER_H_ |
7 | 7 |
8 #include "chrome/browser/signin/easy_unlock_screenlock_state_handler.h" | 8 #include "components/proximity_auth/screenlock_state.h" |
9 | 9 |
10 class EasyUnlockServiceObserver { | 10 class EasyUnlockServiceObserver { |
11 public: | 11 public: |
12 // Invoked when turn-off operation status changes. | 12 // Invoked when turn-off operation status changes. |
13 virtual void OnTurnOffOperationStatusChanged() {} | 13 virtual void OnTurnOffOperationStatusChanged() {} |
14 | 14 |
15 // Invoked when screenlock state changes. | 15 // Invoked when screenlock state changes. |
16 virtual void OnScreenlockStateChanged( | 16 virtual void OnScreenlockStateChanged( |
17 EasyUnlockScreenlockStateHandler::State state) {} | 17 proximity_auth::ScreenlockState state) {} |
18 | 18 |
19 protected: | 19 protected: |
20 virtual ~EasyUnlockServiceObserver() {} | 20 virtual ~EasyUnlockServiceObserver() {} |
21 }; | 21 }; |
22 | 22 |
23 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_OBSERVER_H_ | 23 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_OBSERVER_H_ |
OLD | NEW |