| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 // Hides the contents of the screen. | 51 // Hides the contents of the screen. |
| 52 virtual void Hide() = 0; | 52 virtual void Hide() = 0; |
| 53 | 53 |
| 54 // Shows the signin screen. | 54 // Shows the signin screen. |
| 55 virtual void ShowSigninScreen() = 0; | 55 virtual void ShowSigninScreen() = 0; |
| 56 | 56 |
| 57 // Shows the device attribute prompt screen. | 57 // Shows the device attribute prompt screen. |
| 58 virtual void ShowAttributePromptScreen(const std::string& asset_id, | 58 virtual void ShowAttributePromptScreen(const std::string& asset_id, |
| 59 const std::string& location) = 0; | 59 const std::string& location) = 0; |
| 60 | 60 |
| 61 // Shows a success string for attestation-based enrollment. |
| 62 virtual void ShowAttestationBasedEnrollmentSuccessScreen( |
| 63 const std::string& enterprise_domain) = 0; |
| 64 |
| 61 // Shows the spinner screen for enrollment. | 65 // Shows the spinner screen for enrollment. |
| 62 virtual void ShowEnrollmentSpinnerScreen() = 0; | 66 virtual void ShowEnrollmentSpinnerScreen() = 0; |
| 63 | 67 |
| 64 // Show an authentication error. | 68 // Show an authentication error. |
| 65 virtual void ShowAuthError(const GoogleServiceAuthError& error) = 0; | 69 virtual void ShowAuthError(const GoogleServiceAuthError& error) = 0; |
| 66 | 70 |
| 67 // Show non-authentication error. | 71 // Show non-authentication error. |
| 68 virtual void ShowOtherError(EnterpriseEnrollmentHelper::OtherError error) = 0; | 72 virtual void ShowOtherError(EnterpriseEnrollmentHelper::OtherError error) = 0; |
| 69 | 73 |
| 70 // Update the UI to report the |status| of the enrollment procedure. | 74 // Update the UI to report the |status| of the enrollment procedure. |
| 71 virtual void ShowEnrollmentStatus(policy::EnrollmentStatus status) = 0; | 75 virtual void ShowEnrollmentStatus(policy::EnrollmentStatus status) = 0; |
| 72 }; | 76 }; |
| 73 | 77 |
| 74 } // namespace chromeos | 78 } // namespace chromeos |
| 75 | 79 |
| 76 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_SCREEN_ACTOR_H_ | 80 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_SCREEN_ACTOR_H_ |
| OLD | NEW |