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

Side by Side Diff: chrome/browser/chromeos/login/supervised/supervised_user_creation_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_creation_flow .h" 5 #include "chrome/browser/chromeos/login/supervised/supervised_user_creation_flow .h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/browser/chromeos/login/supervised/supervised_user_creation_scre en.h" 9 #include "chrome/browser/chromeos/login/supervised/supervised_user_creation_scre en.h"
10 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h" 10 #include "chrome/browser/chromeos/login/ui/login_display_host_impl.h"
(...skipping 24 matching lines...) Expand all
35 manager_profile_(NULL) {} 35 manager_profile_(NULL) {}
36 36
37 SupervisedUserCreationFlow::~SupervisedUserCreationFlow() { 37 SupervisedUserCreationFlow::~SupervisedUserCreationFlow() {
38 LOG(ERROR) << "Destroyed " << this; 38 LOG(ERROR) << "Destroyed " << this;
39 } 39 }
40 40
41 bool SupervisedUserCreationFlow::CanLockScreen() { 41 bool SupervisedUserCreationFlow::CanLockScreen() {
42 return false; 42 return false;
43 } 43 }
44 44
45 bool SupervisedUserCreationFlow::CanStartArc() {
46 return false;
47 }
48
45 bool SupervisedUserCreationFlow::ShouldShowSettings() { 49 bool SupervisedUserCreationFlow::ShouldShowSettings() {
46 return false; 50 return false;
47 } 51 }
48 52
49 bool SupervisedUserCreationFlow::ShouldShowNotificationTray() { 53 bool SupervisedUserCreationFlow::ShouldShowNotificationTray() {
50 return false; 54 return false;
51 } 55 }
52 56
53 bool SupervisedUserCreationFlow::ShouldLaunchBrowser() { 57 bool SupervisedUserCreationFlow::ShouldLaunchBrowser() {
54 return false; 58 return false;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 if (token_validated_ && logged_in_) { 114 if (token_validated_ && logged_in_) {
111 if (!session_started_) 115 if (!session_started_)
112 GetScreen(host())->OnManagerFullyAuthenticated(manager_profile_); 116 GetScreen(host())->OnManagerFullyAuthenticated(manager_profile_);
113 session_started_ = true; 117 session_started_ = true;
114 } else { 118 } else {
115 GetScreen(host())->OnManagerCryptohomeAuthenticated(); 119 GetScreen(host())->OnManagerCryptohomeAuthenticated();
116 } 120 }
117 } 121 }
118 122
119 } // namespace chromeos 123 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698