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

Side by Side Diff: chrome/browser/chromeos/login/existing_user_controller.h

Issue 130613004: Enabled consumer kiosk mode for all. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 (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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 // Shows Gaia page because password change was detected. 166 // Shows Gaia page because password change was detected.
167 void ShowGaiaPasswordChanged(const std::string& username); 167 void ShowGaiaPasswordChanged(const std::string& username);
168 168
169 // Handles result of ownership check and starts enterprise or kiosk enrollment 169 // Handles result of ownership check and starts enterprise or kiosk enrollment
170 // if applicable. 170 // if applicable.
171 void OnEnrollmentOwnershipCheckCompleted( 171 void OnEnrollmentOwnershipCheckCompleted(
172 DeviceSettingsService::OwnershipStatus status); 172 DeviceSettingsService::OwnershipStatus status);
173 173
174 // Handles result of consumer kiosk configurability check and starts 174 // Handles result of consumer kiosk configurability check and starts
175 // enable kiosk screen if applicable. 175 // enable kiosk screen if applicable.
176 void OnConsumerKioskModeCheckCompleted( 176 void OnConsumerKioskAutoLaunchCheckCompleted(
177 KioskAppManager::ConsumerKioskModeStatus status); 177 KioskAppManager::ConsumerKioskAutoLaunchStatus status);
178 178
179 // Enters the enterprise enrollment screen. |forced| is true if this is the 179 // Enters the enterprise enrollment screen. |forced| is true if this is the
180 // result of an auto-enrollment check, and the user shouldn't be able to 180 // result of an auto-enrollment check, and the user shouldn't be able to
181 // easily cancel the enrollment. In that case, |user| is the user name that 181 // easily cancel the enrollment. In that case, |user| is the user name that
182 // first logged in. 182 // first logged in.
183 void ShowEnrollmentScreen(bool forced, const std::string& user); 183 void ShowEnrollmentScreen(bool forced, const std::string& user);
184 184
185 // Shows "reset device" screen. 185 // Shows "reset device" screen.
186 void ShowResetScreen(); 186 void ShowResetScreen();
187 187
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 local_account_auto_login_delay_subscription_; 313 local_account_auto_login_delay_subscription_;
314 314
315 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, ExistingUserLogin); 315 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, ExistingUserLogin);
316 316
317 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); 317 DISALLOW_COPY_AND_ASSIGN(ExistingUserController);
318 }; 318 };
319 319
320 } // namespace chromeos 320 } // namespace chromeos
321 321
322 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ 322 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698