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 #include "chrome/browser/signin/easy_unlock_service_signin_chromeos.h"
7 EasyUnlockServiceSignin::EasyUnlockServiceSignin(Profile
* profile
)
8 : EasyUnlockService(profile
) {
11 EasyUnlockServiceSignin::~EasyUnlockServiceSignin() {
14 EasyUnlockService::Type
EasyUnlockServiceSignin::GetType() const {
15 return EasyUnlockService::TYPE_SIGNIN
;
18 std::string
EasyUnlockServiceSignin::GetUserEmail() const {
19 // TODO(tbarzic): Implement this (http://crbug.com/401634).
23 void EasyUnlockServiceSignin::LaunchSetup() {
27 const base::DictionaryValue
* EasyUnlockServiceSignin::GetPermitAccess() const {
28 // TODO(tbarzic): Implement this (http://crbug.com/401634).
32 void EasyUnlockServiceSignin::SetPermitAccess(
33 const base::DictionaryValue
& permit
) {
37 void EasyUnlockServiceSignin::ClearPermitAccess() {
41 const base::ListValue
* EasyUnlockServiceSignin::GetRemoteDevices() const {
42 // TODO(tbarzic): Implement this (http://crbug.com/401634).
46 void EasyUnlockServiceSignin::SetRemoteDevices(
47 const base::ListValue
& devices
) {
51 void EasyUnlockServiceSignin::ClearRemoteDevices() {
55 void EasyUnlockServiceSignin::RunTurnOffFlow() {
59 void EasyUnlockServiceSignin::ResetTurnOffFlow() {
63 EasyUnlockService::TurnOffFlowStatus
64 EasyUnlockServiceSignin::GetTurnOffFlowStatus() const {
65 return EasyUnlockService::IDLE
;
68 void EasyUnlockServiceSignin::InitializeInternal() {
71 bool EasyUnlockServiceSignin::IsAllowedInternal() {
72 // TODO(tbarzic): Implement this (http://crbug.com/401634).