Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Side by Side Diff: chrome/browser/signin/easy_unlock_service_signin_chromeos.h

Issue 577683002: Introduce EasyUnlockService class for signin profile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_service_regular.cc ('k') | chrome/browser/signin/easy_unlock_service_signin_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698