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

Side by Side Diff: chrome/browser/chromeos/login/supervised/supervised_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/supervised/supervised_user_login_flow.h" 5 #include "chrome/browser/chromeos/login/supervised/supervised_user_login_flow.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/metrics/histogram_macros.h" 10 #include "base/metrics/histogram_macros.h"
(...skipping 28 matching lines...) Expand all
39 // Supervised users should launch into empty desktop on first run. 39 // Supervised users should launch into empty desktop on first run.
40 base::CommandLine::ForCurrentProcess()->AppendSwitch( 40 base::CommandLine::ForCurrentProcess()->AppendSwitch(
41 ::switches::kSilentLaunch); 41 ::switches::kSilentLaunch);
42 } 42 }
43 } 43 }
44 44
45 bool SupervisedUserLoginFlow::CanLockScreen() { 45 bool SupervisedUserLoginFlow::CanLockScreen() {
46 return true; 46 return true;
47 } 47 }
48 48
49 bool SupervisedUserLoginFlow::CanStartArc() {
50 return false;
51 }
52
49 bool SupervisedUserLoginFlow::ShouldLaunchBrowser() { 53 bool SupervisedUserLoginFlow::ShouldLaunchBrowser() {
50 return data_loaded_; 54 return data_loaded_;
51 } 55 }
52 56
53 bool SupervisedUserLoginFlow::ShouldSkipPostLoginScreens() { 57 bool SupervisedUserLoginFlow::ShouldSkipPostLoginScreens() {
54 return true; 58 return true;
55 } 59 }
56 60
57 bool SupervisedUserLoginFlow::SupportsEarlyRestartToApplyFlags() { 61 bool SupervisedUserLoginFlow::SupportsEarlyRestartToApplyFlags() {
58 return false; 62 return false;
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 void SupervisedUserLoginFlow::LaunchExtraSteps( 261 void SupervisedUserLoginFlow::LaunchExtraSteps(
258 Profile* profile) { 262 Profile* profile) {
259 profile_ = profile; 263 profile_ = profile;
260 ChromeUserManager::Get()->GetSupervisedUserManager()->LoadSupervisedUserToken( 264 ChromeUserManager::Get()->GetSupervisedUserManager()->LoadSupervisedUserToken(
261 profile, 265 profile,
262 base::Bind(&SupervisedUserLoginFlow::OnSyncSetupDataLoaded, 266 base::Bind(&SupervisedUserLoginFlow::OnSyncSetupDataLoaded,
263 weak_factory_.GetWeakPtr())); 267 weak_factory_.GetWeakPtr()));
264 } 268 }
265 269
266 } // namespace chromeos 270 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/supervised/supervised_user_login_flow.h ('k') | chrome/browser/chromeos/login/user_flow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698