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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 RunTurnOffFlow() OVERRIDE; | 68 virtual void RunTurnOffFlow() OVERRIDE; |
69 virtual void ResetTurnOffFlow() OVERRIDE; | 69 virtual void ResetTurnOffFlow() OVERRIDE; |
70 virtual TurnOffFlowStatus GetTurnOffFlowStatus() const OVERRIDE; | 70 virtual TurnOffFlowStatus GetTurnOffFlowStatus() const OVERRIDE; |
71 virtual std::string GetChallenge() const OVERRIDE; | 71 virtual std::string GetChallenge() const OVERRIDE; |
| 72 virtual std::string GetWrappedSecret() const OVERRIDE; |
72 virtual void InitializeInternal() OVERRIDE; | 73 virtual void InitializeInternal() OVERRIDE; |
73 virtual void ShutdownInternal() OVERRIDE; | 74 virtual void ShutdownInternal() OVERRIDE; |
74 virtual bool IsAllowedInternal() OVERRIDE; | 75 virtual bool IsAllowedInternal() OVERRIDE; |
75 | 76 |
76 // ScreenlockBridge::Observer implementation: | 77 // ScreenlockBridge::Observer implementation: |
77 virtual void OnScreenDidLock() OVERRIDE; | 78 virtual void OnScreenDidLock() OVERRIDE; |
78 virtual void OnScreenDidUnlock() OVERRIDE; | 79 virtual void OnScreenDidUnlock() OVERRIDE; |
79 virtual void OnFocusedUserChanged(const std::string& user_id) OVERRIDE; | 80 virtual void OnFocusedUserChanged(const std::string& user_id) OVERRIDE; |
80 | 81 |
81 // chromeos::LoginState::Observer implementation: | 82 // chromeos::LoginState::Observer implementation: |
(...skipping 28 matching lines...) Expand all Loading... |
110 // Whether the service has been successfully initialized, and has not been | 111 // Whether the service has been successfully initialized, and has not been |
111 // shut down. | 112 // shut down. |
112 bool service_active_; | 113 bool service_active_; |
113 | 114 |
114 base::WeakPtrFactory<EasyUnlockServiceSignin> weak_ptr_factory_; | 115 base::WeakPtrFactory<EasyUnlockServiceSignin> weak_ptr_factory_; |
115 | 116 |
116 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceSignin); | 117 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceSignin); |
117 }; | 118 }; |
118 | 119 |
119 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_ | 120 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_ |
OLD | NEW |