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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
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 RunTurnOffFlow() override; | 68 virtual void RunTurnOffFlow() override; |
68 virtual void ResetTurnOffFlow() override; | 69 virtual void ResetTurnOffFlow() override; |
69 virtual TurnOffFlowStatus GetTurnOffFlowStatus() const override; | 70 virtual TurnOffFlowStatus GetTurnOffFlowStatus() const override; |
70 virtual std::string GetChallenge() const override; | 71 virtual std::string GetChallenge() const override; |
71 virtual std::string GetWrappedSecret() const override; | 72 virtual std::string GetWrappedSecret() const override; |
72 virtual void RecordEasySignInOutcome(const std::string& user_id, | 73 virtual void RecordEasySignInOutcome(const std::string& user_id, |
73 bool success) const override; | 74 bool success) const override; |
74 virtual void RecordPasswordLoginEvent( | 75 virtual void RecordPasswordLoginEvent( |
75 const std::string& user_id) const override; | 76 const std::string& user_id) const override; |
76 virtual void InitializeInternal() override; | 77 virtual void InitializeInternal() override; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 // Whether the service has been successfully initialized, and has not been | 115 // Whether the service has been successfully initialized, and has not been |
115 // shut down. | 116 // shut down. |
116 bool service_active_; | 117 bool service_active_; |
117 | 118 |
118 base::WeakPtrFactory<EasyUnlockServiceSignin> weak_ptr_factory_; | 119 base::WeakPtrFactory<EasyUnlockServiceSignin> weak_ptr_factory_; |
119 | 120 |
120 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceSignin); | 121 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceSignin); |
121 }; | 122 }; |
122 | 123 |
123 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_ | 124 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_ |
OLD | NEW |