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

Side by Side Diff: chrome/browser/chromeos/login/app_launch_signin_screen.cc

Issue 228553002: Preference dis/allowing supervised users creation is now available as owner setting, not only as de… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/app_launch_signin_screen.h" 5 #include "chrome/browser/chromeos/login/app_launch_signin_screen.h"
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "chrome/browser/chromeos/login/help_app_launcher.h" 8 #include "chrome/browser/chromeos/login/help_app_launcher.h"
9 #include "chrome/browser/chromeos/login/login_utils.h" 9 #include "chrome/browser/chromeos/login/login_utils.h"
10 #include "chrome/browser/chromeos/login/user.h" 10 #include "chrome/browser/chromeos/login/user.h"
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 } 156 }
157 157
158 const UserList& AppLaunchSigninScreen::GetUsers() const { 158 const UserList& AppLaunchSigninScreen::GetUsers() const {
159 return owner_user_list_; 159 return owner_user_list_;
160 } 160 }
161 161
162 bool AppLaunchSigninScreen::IsShowGuest() const { 162 bool AppLaunchSigninScreen::IsShowGuest() const {
163 return false; 163 return false;
164 } 164 }
165 165
166 bool AppLaunchSigninScreen::IsShowSupervised() const {
167 return false;
168 }
169
166 bool AppLaunchSigninScreen::IsShowUsers() const { 170 bool AppLaunchSigninScreen::IsShowUsers() const {
167 return true; 171 return true;
168 } 172 }
169 173
170 bool AppLaunchSigninScreen::IsShowNewUser() const { 174 bool AppLaunchSigninScreen::IsShowNewUser() const {
171 return false; 175 return false;
172 } 176 }
173 177
174 bool AppLaunchSigninScreen::IsSigninInProgress() const { 178 bool AppLaunchSigninScreen::IsSigninInProgress() const {
175 // Return true to suppress network processing in the signin screen. 179 // Return true to suppress network processing in the signin screen.
(...skipping 25 matching lines...) Expand all
201 l10n_util::GetStringUTF8(IDS_LOGIN_ERROR_AUTHENTICATING_KIOSK), 205 l10n_util::GetStringUTF8(IDS_LOGIN_ERROR_AUTHENTICATING_KIOSK),
202 std::string(), 206 std::string(),
203 HelpAppLauncher::HELP_CANT_ACCESS_ACCOUNT_OFFLINE); 207 HelpAppLauncher::HELP_CANT_ACCESS_ACCOUNT_OFFLINE);
204 } 208 }
205 209
206 void AppLaunchSigninScreen::OnLoginSuccess(const UserContext& user_context) { 210 void AppLaunchSigninScreen::OnLoginSuccess(const UserContext& user_context) {
207 delegate_->OnOwnerSigninSuccess(); 211 delegate_->OnOwnerSigninSuccess();
208 } 212 }
209 213
210 } // namespace chromeos 214 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698