OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_ |
| 6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "base/macros.h" |
| 11 #include "chrome/browser/signin/easy_unlock_service.h" |
| 12 |
| 13 // EasyUnlockService instance that should be used for signin profile. |
| 14 class EasyUnlockServiceSignin : public EasyUnlockService { |
| 15 public: |
| 16 explicit EasyUnlockServiceSignin(Profile* profile); |
| 17 virtual ~EasyUnlockServiceSignin(); |
| 18 |
| 19 private: |
| 20 // EasyUnlockService implementation: |
| 21 virtual EasyUnlockService::Type GetType() const OVERRIDE; |
| 22 virtual std::string GetUserEmail() const OVERRIDE; |
| 23 virtual void LaunchSetup() OVERRIDE; |
| 24 virtual const base::DictionaryValue* GetPermitAccess() const OVERRIDE; |
| 25 virtual void SetPermitAccess(const base::DictionaryValue& permit) OVERRIDE; |
| 26 virtual void ClearPermitAccess() OVERRIDE; |
| 27 virtual const base::ListValue* GetRemoteDevices() const OVERRIDE; |
| 28 virtual void SetRemoteDevices(const base::ListValue& devices) OVERRIDE; |
| 29 virtual void ClearRemoteDevices() OVERRIDE; |
| 30 virtual void RunTurnOffFlow() OVERRIDE; |
| 31 virtual void ResetTurnOffFlow() OVERRIDE; |
| 32 virtual TurnOffFlowStatus GetTurnOffFlowStatus() const OVERRIDE; |
| 33 virtual bool IsAllowedInternal() OVERRIDE; |
| 34 virtual void InitializeInternal() OVERRIDE; |
| 35 |
| 36 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceSignin); |
| 37 }; |
| 38 |
| 39 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_ |
OLD | NEW |