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.
5 #ifndef CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_
6 #define CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_
10 #include "base/macros.h"
11 #include "chrome/browser/signin/easy_unlock_service.h"
13 // EasyUnlockService instance that should be used for signin profile.
14 class EasyUnlockServiceSignin
: public EasyUnlockService
{
16 explicit EasyUnlockServiceSignin(Profile
* profile
);
17 virtual ~EasyUnlockServiceSignin();
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
;
36 DISALLOW_COPY_AND_ASSIGN(EasyUnlockServiceSignin
);
39 #endif // CHROME_BROWSER_SIGNIN_EASY_UNLOCK_SERVICE_SIGNIN_CHROMEOS_H_