| 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 "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper.
h" | 10 #include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper.
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 AD domain joining screen. | 55 // Shows the Active Directory domain joining screen. |
| 56 virtual void ShowAdJoin() = 0; | 56 virtual void ShowAdJoin() = 0; |
| 57 | 57 |
| 58 // Shows the device attribute prompt screen. | 58 // Shows the device attribute prompt screen. |
| 59 virtual void ShowAttributePromptScreen(const std::string& asset_id, | 59 virtual void ShowAttributePromptScreen(const std::string& asset_id, |
| 60 const std::string& location) = 0; | 60 const std::string& location) = 0; |
| 61 | 61 |
| 62 // Shows a success string for attestation-based enrollment. | 62 // Shows a success string for attestation-based enrollment. |
| 63 virtual void ShowAttestationBasedEnrollmentSuccessScreen( | 63 virtual void ShowAttestationBasedEnrollmentSuccessScreen( |
| 64 const std::string& enterprise_domain) = 0; | 64 const std::string& enterprise_domain) = 0; |
| 65 | 65 |
| 66 // Shows the spinner screen for enrollment. | 66 // Shows the spinner screen for enrollment. |
| 67 virtual void ShowEnrollmentSpinnerScreen() = 0; | 67 virtual void ShowEnrollmentSpinnerScreen() = 0; |
| 68 | 68 |
| 69 // Show an authentication error. | 69 // Show an authentication error. |
| 70 virtual void ShowAuthError(const GoogleServiceAuthError& error) = 0; | 70 virtual void ShowAuthError(const GoogleServiceAuthError& error) = 0; |
| 71 | 71 |
| 72 // Show non-authentication error. | 72 // Show non-authentication error. |
| 73 virtual void ShowOtherError(EnterpriseEnrollmentHelper::OtherError error) = 0; | 73 virtual void ShowOtherError(EnterpriseEnrollmentHelper::OtherError error) = 0; |
| 74 | 74 |
| 75 // Update the UI to report the |status| of the enrollment procedure. | 75 // Update the UI to report the |status| of the enrollment procedure. |
| 76 virtual void ShowEnrollmentStatus(policy::EnrollmentStatus status) = 0; | 76 virtual void ShowEnrollmentStatus(policy::EnrollmentStatus status) = 0; |
| 77 }; | 77 }; |
| 78 | 78 |
| 79 } // namespace chromeos | 79 } // namespace chromeos |
| 80 | 80 |
| 81 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_SCREEN_ACTOR_H_ | 81 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_SCREEN_ACTOR_H_ |
| OLD | NEW |