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

Side by Side Diff: chrome/browser/chromeos/login/user_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
« no previous file with comments | « chrome/browser/chromeos/login/user_flow.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/location.h" 6 #include "base/location.h"
7 #include "base/single_thread_task_runner.h" 7 #include "base/single_thread_task_runner.h"
8 #include "base/threading/thread_task_runner_handle.h" 8 #include "base/threading/thread_task_runner_handle.h"
9 #include "chrome/browser/chromeos/login/user_flow.h" 9 #include "chrome/browser/chromeos/login/user_flow.h"
10 #include "chrome/browser/chromeos/login/users/chrome_user_manager.h" 10 #include "chrome/browser/chromeos/login/users/chrome_user_manager.h"
(...skipping 12 matching lines...) Expand all
23 23
24 DefaultUserFlow::~DefaultUserFlow() {} 24 DefaultUserFlow::~DefaultUserFlow() {}
25 25
26 void DefaultUserFlow::AppendAdditionalCommandLineSwitches() { 26 void DefaultUserFlow::AppendAdditionalCommandLineSwitches() {
27 } 27 }
28 28
29 bool DefaultUserFlow::CanLockScreen() { 29 bool DefaultUserFlow::CanLockScreen() {
30 return true; 30 return true;
31 } 31 }
32 32
33 bool DefaultUserFlow::CanStartArc() {
34 return true;
35 }
36
33 bool DefaultUserFlow::ShouldShowSettings() { 37 bool DefaultUserFlow::ShouldShowSettings() {
34 return true; 38 return true;
35 } 39 }
36 40
37 bool DefaultUserFlow::ShouldShowNotificationTray() { 41 bool DefaultUserFlow::ShouldShowNotificationTray() {
38 return true; 42 return true;
39 } 43 }
40 44
41 bool DefaultUserFlow::ShouldLaunchBrowser() { 45 bool DefaultUserFlow::ShouldLaunchBrowser() {
42 return true; 46 return true;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 } 93 }
90 94
91 void ExtendedUserFlow::UnregisterFlowSoon() { 95 void ExtendedUserFlow::UnregisterFlowSoon() {
92 base::ThreadTaskRunnerHandle::Get()->PostTask( 96 base::ThreadTaskRunnerHandle::Get()->PostTask(
93 FROM_HERE, 97 FROM_HERE,
94 base::Bind(&ChromeUserManager::ResetUserFlow, 98 base::Bind(&ChromeUserManager::ResetUserFlow,
95 base::Unretained(ChromeUserManager::Get()), account_id())); 99 base::Unretained(ChromeUserManager::Get()), account_id()));
96 } 100 }
97 101
98 } // namespace chromeos 102 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/user_flow.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698