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

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

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 #include "chrome/browser/signin/easy_unlock_service_signin_chromeos.h"
6
7 EasyUnlockServiceSignin::EasyUnlockServiceSignin(Profile* profile)
8 : EasyUnlockService(profile) {
9 }
10
11 EasyUnlockServiceSignin::~EasyUnlockServiceSignin() {
12 }
13
14 EasyUnlockService::Type EasyUnlockServiceSignin::GetType() const {
15 return EasyUnlockService::TYPE_SIGNIN;
16 }
17
18 std::string EasyUnlockServiceSignin::GetUserEmail() const {
19 // TODO(tbarzic): Implement this (http://crbug.com/401634).
20 return "";
21 }
22
23 void EasyUnlockServiceSignin::LaunchSetup() {
24 NOTREACHED();
25 }
26
27 const base::DictionaryValue* EasyUnlockServiceSignin::GetPermitAccess() const {
28 // TODO(tbarzic): Implement this (http://crbug.com/401634).
29 return NULL;
30 }
31
32 void EasyUnlockServiceSignin::SetPermitAccess(
33 const base::DictionaryValue& permit) {
34 NOTREACHED();
35 }
36
37 void EasyUnlockServiceSignin::ClearPermitAccess() {
38 NOTREACHED();
39 }
40
41 const base::ListValue* EasyUnlockServiceSignin::GetRemoteDevices() const {
42 // TODO(tbarzic): Implement this (http://crbug.com/401634).
43 return NULL;
44 }
45
46 void EasyUnlockServiceSignin::SetRemoteDevices(
47 const base::ListValue& devices) {
48 NOTREACHED();
49 }
50
51 void EasyUnlockServiceSignin::ClearRemoteDevices() {
52 NOTREACHED();
53 }
54
55 void EasyUnlockServiceSignin::RunTurnOffFlow() {
56 NOTREACHED();
57 }
58
59 void EasyUnlockServiceSignin::ResetTurnOffFlow() {
60 NOTREACHED();
61 }
62
63 EasyUnlockService::TurnOffFlowStatus
64 EasyUnlockServiceSignin::GetTurnOffFlowStatus() const {
65 return EasyUnlockService::IDLE;
66 }
67
68 void EasyUnlockServiceSignin::InitializeInternal() {
69 }
70
71 bool EasyUnlockServiceSignin::IsAllowedInternal() {
72 // TODO(tbarzic): Implement this (http://crbug.com/401634).
73 return false;
74 }
75
OLDNEW
« no previous file with comments | « chrome/browser/signin/easy_unlock_service_signin_chromeos.h ('k') | chrome/browser/ui/webui/options/easy_unlock_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698