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

Side by Side Diff: chrome/browser/chromeos/login/easy_unlock/easy_unlock_user_login_flow.cc

Issue 2513473006: Stop running arc container on supervised user creation flow (Closed)
Patch Set: rebased Created 4 years 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_user_login_flow. h" 5 #include "chrome/browser/chromeos/login/easy_unlock/easy_unlock_user_login_flow. h"
6 6
7 #include "chrome/browser/chromeos/profiles/profile_helper.h" 7 #include "chrome/browser/chromeos/profiles/profile_helper.h"
8 #include "chrome/browser/signin/easy_unlock_service.h" 8 #include "chrome/browser/signin/easy_unlock_service.h"
9 9
10 EasyUnlockUserLoginFlow::EasyUnlockUserLoginFlow(const AccountId& account_id) 10 EasyUnlockUserLoginFlow::EasyUnlockUserLoginFlow(const AccountId& account_id)
11 : chromeos::ExtendedUserFlow(account_id) {} 11 : chromeos::ExtendedUserFlow(account_id) {}
12 12
13 EasyUnlockUserLoginFlow::~EasyUnlockUserLoginFlow() {} 13 EasyUnlockUserLoginFlow::~EasyUnlockUserLoginFlow() {}
14 14
15 bool EasyUnlockUserLoginFlow::CanLockScreen() { 15 bool EasyUnlockUserLoginFlow::CanLockScreen() {
16 return true; 16 return true;
17 } 17 }
18 18
19 bool EasyUnlockUserLoginFlow::CanStartArc() {
20 return true;
21 }
22
19 bool EasyUnlockUserLoginFlow::ShouldLaunchBrowser() { 23 bool EasyUnlockUserLoginFlow::ShouldLaunchBrowser() {
20 return true; 24 return true;
21 } 25 }
22 26
23 bool EasyUnlockUserLoginFlow::ShouldSkipPostLoginScreens() { 27 bool EasyUnlockUserLoginFlow::ShouldSkipPostLoginScreens() {
24 return false; 28 return false;
25 } 29 }
26 30
27 bool EasyUnlockUserLoginFlow::HandleLoginFailure( 31 bool EasyUnlockUserLoginFlow::HandleLoginFailure(
28 const chromeos::AuthFailure& failure) { 32 const chromeos::AuthFailure& failure) {
(...skipping 23 matching lines...) Expand all
52 void EasyUnlockUserLoginFlow::HandleOAuthTokenStatusChange( 56 void EasyUnlockUserLoginFlow::HandleOAuthTokenStatusChange(
53 user_manager::User::OAuthTokenStatus status) { 57 user_manager::User::OAuthTokenStatus status) {
54 } 58 }
55 59
56 void EasyUnlockUserLoginFlow::LaunchExtraSteps(Profile* profile) { 60 void EasyUnlockUserLoginFlow::LaunchExtraSteps(Profile* profile) {
57 } 61 }
58 62
59 bool EasyUnlockUserLoginFlow::SupportsEarlyRestartToApplyFlags() { 63 bool EasyUnlockUserLoginFlow::SupportsEarlyRestartToApplyFlags() {
60 return true; 64 return true;
61 } 65 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698