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