Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 165 // Shows Gaia page because password change was detected. | 165 // Shows Gaia page because password change was detected. |
| 166 void ShowGaiaPasswordChanged(const std::string& username); | 166 void ShowGaiaPasswordChanged(const std::string& username); |
| 167 | 167 |
| 168 // Handles result of ownership check and starts enterprise or kiosk enrollment | 168 // Handles result of ownership check and starts enterprise or kiosk enrollment |
| 169 // if applicable. | 169 // if applicable. |
| 170 void OnEnrollmentOwnershipCheckCompleted( | 170 void OnEnrollmentOwnershipCheckCompleted( |
| 171 DeviceSettingsService::OwnershipStatus status); | 171 DeviceSettingsService::OwnershipStatus status); |
| 172 | 172 |
| 173 // Handles result of consumer kiosk configurability check and starts | 173 // Handles result of consumer kiosk configurability check and starts |
| 174 // enable kiosk screen if applicable. | 174 // enable kiosk screen if applicable. |
| 175 void OnConsumerKioskModeCheckCompleted( | 175 void OnConsumerKioskModeAutoStartCheckCompleted( |
|
xiyuan
2014/01/23 22:05:10
nit: OnConsumerKioskModeAutoStartCheckCompleted ->
zel
2014/01/23 22:55:27
Done.
| |
| 176 KioskAppManager::ConsumerKioskModeStatus status); | 176 KioskAppManager::ConsumerKioskAutoLaunchStatus status); |
| 177 | 177 |
| 178 // Enters the enterprise enrollment screen. |forced| is true if this is the | 178 // Enters the enterprise enrollment screen. |forced| is true if this is the |
| 179 // result of an auto-enrollment check, and the user shouldn't be able to | 179 // result of an auto-enrollment check, and the user shouldn't be able to |
| 180 // easily cancel the enrollment. In that case, |user| is the user name that | 180 // easily cancel the enrollment. In that case, |user| is the user name that |
| 181 // first logged in. | 181 // first logged in. |
| 182 void ShowEnrollmentScreen(bool forced, const std::string& user); | 182 void ShowEnrollmentScreen(bool forced, const std::string& user); |
| 183 | 183 |
| 184 // Shows "reset device" screen. | 184 // Shows "reset device" screen. |
| 185 void ShowResetScreen(); | 185 void ShowResetScreen(); |
| 186 | 186 |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 312 local_account_auto_login_delay_subscription_; | 312 local_account_auto_login_delay_subscription_; |
| 313 | 313 |
| 314 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, ExistingUserLogin); | 314 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, ExistingUserLogin); |
| 315 | 315 |
| 316 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); | 316 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); |
| 317 }; | 317 }; |
| 318 | 318 |
| 319 } // namespace chromeos | 319 } // namespace chromeos |
| 320 | 320 |
| 321 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ | 321 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
| OLD | NEW |