| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 | 126 |
| 127 // Starts WizardController with the specified screen. | 127 // Starts WizardController with the specified screen. |
| 128 void ActivateWizard(const std::string& screen_name); | 128 void ActivateWizard(const std::string& screen_name); |
| 129 | 129 |
| 130 // Returns corresponding native window. | 130 // Returns corresponding native window. |
| 131 gfx::NativeWindow GetNativeWindow() const; | 131 gfx::NativeWindow GetNativeWindow() const; |
| 132 | 132 |
| 133 // Adds first-time login URLs. | 133 // Adds first-time login URLs. |
| 134 void InitializeStartUrls() const; | 134 void InitializeStartUrls() const; |
| 135 | 135 |
| 136 // Changes state of the status area. During login operation it's disabled. | |
| 137 void SetStatusAreaEnabled(bool enable); | |
| 138 | |
| 139 // Show error message. |error_id| error message ID in resources. | 136 // Show error message. |error_id| error message ID in resources. |
| 140 // If |details| string is not empty, it specify additional error text | 137 // If |details| string is not empty, it specify additional error text |
| 141 // provided by authenticator, it is not localized. | 138 // provided by authenticator, it is not localized. |
| 142 void ShowError(int error_id, const std::string& details); | 139 void ShowError(int error_id, const std::string& details); |
| 143 | 140 |
| 144 // Shows Gaia page because password change was detected. | 141 // Shows Gaia page because password change was detected. |
| 145 void ShowGaiaPasswordChanged(const std::string& username); | 142 void ShowGaiaPasswordChanged(const std::string& username); |
| 146 | 143 |
| 147 // Handles result of ownership check and starts enterprise enrollment if | 144 // Handles result of ownership check and starts enterprise enrollment if |
| 148 // applicable. | 145 // applicable. |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 base::Time time_init_; | 239 base::Time time_init_; |
| 243 | 240 |
| 244 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, ExistingUserLogin); | 241 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, ExistingUserLogin); |
| 245 | 242 |
| 246 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); | 243 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); |
| 247 }; | 244 }; |
| 248 | 245 |
| 249 } // namespace chromeos | 246 } // namespace chromeos |
| 250 | 247 |
| 251 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ | 248 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
| OLD | NEW |