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_ENROLLMENT_ENROLLMENT_SCREEN_ACTOR_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_SCREEN_ACTOR_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_SCREEN_ACTOR_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_SCREEN_ACTOR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 | 45 |
46 // Shows the contents of the screen. | 46 // Shows the contents of the screen. |
47 virtual void Show() = 0; | 47 virtual void Show() = 0; |
48 | 48 |
49 // Hides the contents of the screen. | 49 // Hides the contents of the screen. |
50 virtual void Hide() = 0; | 50 virtual void Hide() = 0; |
51 | 51 |
52 // Shows the signin screen. | 52 // Shows the signin screen. |
53 virtual void ShowSigninScreen() = 0; | 53 virtual void ShowSigninScreen() = 0; |
54 | 54 |
| 55 // Shows the device naming screen |
| 56 virtual void ShowDeviceNamingScreen() = 0; |
| 57 |
55 // Shows the spinner screen for enrollment. | 58 // Shows the spinner screen for enrollment. |
56 virtual void ShowEnrollmentSpinnerScreen() = 0; | 59 virtual void ShowEnrollmentSpinnerScreen() = 0; |
57 | 60 |
58 // Show an authentication error. | 61 // Show an authentication error. |
59 virtual void ShowAuthError(const GoogleServiceAuthError& error) = 0; | 62 virtual void ShowAuthError(const GoogleServiceAuthError& error) = 0; |
60 | 63 |
61 // Show non-authentication error. | 64 // Show non-authentication error. |
62 virtual void ShowOtherError(EnterpriseEnrollmentHelper::OtherError error) = 0; | 65 virtual void ShowOtherError(EnterpriseEnrollmentHelper::OtherError error) = 0; |
63 | 66 |
64 // Update the UI to report the |status| of the enrollment procedure. | 67 // Update the UI to report the |status| of the enrollment procedure. |
65 virtual void ShowEnrollmentStatus(policy::EnrollmentStatus status) = 0; | 68 virtual void ShowEnrollmentStatus(policy::EnrollmentStatus status) = 0; |
66 }; | 69 }; |
67 | 70 |
68 } // namespace chromeos | 71 } // namespace chromeos |
69 | 72 |
70 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_SCREEN_ACTOR_H_ | 73 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_SCREEN_ACTOR_H_ |
OLD | NEW |