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_SIGNIN_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_ |
6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_ | 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 // EasyUnlockService implementation: | 58 // EasyUnlockService implementation: |
59 virtual EasyUnlockService::Type GetType() const OVERRIDE; | 59 virtual EasyUnlockService::Type GetType() const OVERRIDE; |
60 virtual std::string GetUserEmail() const OVERRIDE; | 60 virtual std::string GetUserEmail() const OVERRIDE; |
61 virtual void LaunchSetup() OVERRIDE; | 61 virtual void LaunchSetup() OVERRIDE; |
62 virtual const base::DictionaryValue* GetPermitAccess() const OVERRIDE; | 62 virtual const base::DictionaryValue* GetPermitAccess() const OVERRIDE; |
63 virtual void SetPermitAccess(const base::DictionaryValue& permit) OVERRIDE; | 63 virtual void SetPermitAccess(const base::DictionaryValue& permit) OVERRIDE; |
64 virtual void ClearPermitAccess() OVERRIDE; | 64 virtual void ClearPermitAccess() OVERRIDE; |
65 virtual const base::ListValue* GetRemoteDevices() const OVERRIDE; | 65 virtual const base::ListValue* GetRemoteDevices() const OVERRIDE; |
66 virtual void SetRemoteDevices(const base::ListValue& devices) OVERRIDE; | 66 virtual void SetRemoteDevices(const base::ListValue& devices) OVERRIDE; |
67 virtual void ClearRemoteDevices() OVERRIDE; | 67 virtual void ClearRemoteDevices() OVERRIDE; |
| 68 virtual void SetHardlocked(bool value) OVERRIDE; |
| 69 virtual bool IsHardlocked() const OVERRIDE; |
68 virtual void RunTurnOffFlow() OVERRIDE; | 70 virtual void RunTurnOffFlow() OVERRIDE; |
69 virtual void ResetTurnOffFlow() OVERRIDE; | 71 virtual void ResetTurnOffFlow() OVERRIDE; |
70 virtual TurnOffFlowStatus GetTurnOffFlowStatus() const OVERRIDE; | 72 virtual TurnOffFlowStatus GetTurnOffFlowStatus() const OVERRIDE; |
71 virtual std::string GetChallenge() const OVERRIDE; | 73 virtual std::string GetChallenge() const OVERRIDE; |
72 virtual std::string GetWrappedSecret() const OVERRIDE; | 74 virtual std::string GetWrappedSecret() const OVERRIDE; |
73 virtual void InitializeInternal() OVERRIDE; | 75 virtual void InitializeInternal() OVERRIDE; |
74 virtual void ShutdownInternal() OVERRIDE; | 76 virtual void ShutdownInternal() OVERRIDE; |
75 virtual bool IsAllowedInternal() OVERRIDE; | 77 virtual bool IsAllowedInternal() OVERRIDE; |
76 | 78 |
77 // ScreenlockBridge::Observer implementation: | 79 // ScreenlockBridge::Observer implementation: |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 // Whether the service has been successfully initialized, and has not been | 113 // Whether the service has been successfully initialized, and has not been |
112 // shut down. | 114 // shut down. |
113 bool service_active_; | 115 bool service_active_; |
114 | 116 |
115 base::WeakPtrFactory<EasyUnlockServiceSignin> weak_ptr_factory_; | 117 base::WeakPtrFactory<EasyUnlockServiceSignin> weak_ptr_factory_; |
116 | 118 |
117 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceSignin); | 119 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceSignin); |
118 }; | 120 }; |
119 | 121 |
120 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_ | 122 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_ |
OLD | NEW |