| 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_REGULAR_H_ | 5 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_REGULAR_H_ |
| 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_REGULAR_H_ | 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_REGULAR_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 class CryptAuthEnrollmentManager; | 33 class CryptAuthEnrollmentManager; |
| 34 class CryptAuthGCMManager; | 34 class CryptAuthGCMManager; |
| 35 class ToggleEasyUnlockResponse; | 35 class ToggleEasyUnlockResponse; |
| 36 } | 36 } |
| 37 | 37 |
| 38 namespace proximity_auth { | 38 namespace proximity_auth { |
| 39 class ProximityAuthPrefManager; | 39 class ProximityAuthPrefManager; |
| 40 class RemoteDeviceLoader; | 40 class RemoteDeviceLoader; |
| 41 } | 41 } |
| 42 | 42 |
| 43 class EasyUnlockAppManager; | |
| 44 class EasyUnlockToggleFlow; | |
| 45 class Profile; | 43 class Profile; |
| 46 | 44 |
| 47 // EasyUnlockService instance that should be used for regular, non-signin | 45 // EasyUnlockService instance that should be used for regular, non-signin |
| 48 // profiles. | 46 // profiles. |
| 49 class EasyUnlockServiceRegular | 47 class EasyUnlockServiceRegular |
| 50 : public EasyUnlockService, | 48 : public EasyUnlockService, |
| 51 public proximity_auth::ScreenlockBridge::Observer, | 49 public proximity_auth::ScreenlockBridge::Observer, |
| 52 public cryptauth::CryptAuthDeviceManager::Observer, | 50 public cryptauth::CryptAuthDeviceManager::Observer, |
| 53 public OAuth2TokenService::Observer { | 51 public OAuth2TokenService::Observer { |
| 54 public: | 52 public: |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 // this deferment prevents the lock screen from being changed by a network | 189 // this deferment prevents the lock screen from being changed by a network |
| 192 // event. | 190 // event. |
| 193 bool deferring_device_load_; | 191 bool deferring_device_load_; |
| 194 | 192 |
| 195 base::WeakPtrFactory<EasyUnlockServiceRegular> weak_ptr_factory_; | 193 base::WeakPtrFactory<EasyUnlockServiceRegular> weak_ptr_factory_; |
| 196 | 194 |
| 197 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceRegular); | 195 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceRegular); |
| 198 }; | 196 }; |
| 199 | 197 |
| 200 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_REGULAR_H_ | 198 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_REGULAR_H_ |
| OLD | NEW |