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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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. | 136 // Changes state of the status area. During login operation it's disabled. |
137 void SetStatusAreaEnabled(bool enable); | 137 void SetStatusAreaEnabled(bool enable); |
138 | 138 |
| 139 // Returns Getting Started Guide URL with parameters. |
| 140 std::string GetGettingStartedGuideURL() const; |
| 141 |
139 // Show error message. |error_id| error message ID in resources. | 142 // Show error message. |error_id| error message ID in resources. |
140 // If |details| string is not empty, it specify additional error text | 143 // If |details| string is not empty, it specify additional error text |
141 // provided by authenticator, it is not localized. | 144 // provided by authenticator, it is not localized. |
142 void ShowError(int error_id, const std::string& details); | 145 void ShowError(int error_id, const std::string& details); |
143 | 146 |
144 // Shows Gaia page because password change was detected. | 147 // Shows Gaia page because password change was detected. |
145 void ShowGaiaPasswordChanged(const std::string& username); | 148 void ShowGaiaPasswordChanged(const std::string& username); |
146 | 149 |
147 // Handles result of ownership check and starts enterprise enrollment if | 150 // Handles result of ownership check and starts enterprise enrollment if |
148 // applicable. | 151 // applicable. |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 base::Time time_init_; | 245 base::Time time_init_; |
243 | 246 |
244 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, ExistingUserLogin); | 247 FRIEND_TEST_ALL_PREFIXES(ExistingUserControllerTest, ExistingUserLogin); |
245 | 248 |
246 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); | 249 DISALLOW_COPY_AND_ASSIGN(ExistingUserController); |
247 }; | 250 }; |
248 | 251 |
249 } // namespace chromeos | 252 } // namespace chromeos |
250 | 253 |
251 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ | 254 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_EXISTING_USER_CONTROLLER_H_ |
OLD | NEW |