| 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_ENTERPRISE_ENROLLMENT_SCREEN_AC
TOR_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_SCREEN_AC
TOR_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_SCREEN_AC
TOR_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_SCREEN_AC
TOR_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/callback_forward.h" | 11 #include "base/callback_forward.h" |
| 12 #include "chrome/browser/policy/enrollment_status_chromeos.h" | 12 #include "chrome/browser/chromeos/policy/enrollment_status_chromeos.h" |
| 13 | 13 |
| 14 class GoogleServiceAuthError; | 14 class GoogleServiceAuthError; |
| 15 | 15 |
| 16 namespace chromeos { | 16 namespace chromeos { |
| 17 | 17 |
| 18 // Interface class for the enterprise enrollment screen actor. | 18 // Interface class for the enterprise enrollment screen actor. |
| 19 class EnterpriseEnrollmentScreenActor { | 19 class EnterpriseEnrollmentScreenActor { |
| 20 public: | 20 public: |
| 21 // Enumeration of the possible errors that can occur during enrollment which | 21 // Enumeration of the possible errors that can occur during enrollment which |
| 22 // are not covered by GoogleServiceAuthError or EnrollmentStatus. | 22 // are not covered by GoogleServiceAuthError or EnrollmentStatus. |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 virtual void ShowEnrollmentStatus(policy::EnrollmentStatus status) = 0; | 85 virtual void ShowEnrollmentStatus(policy::EnrollmentStatus status) = 0; |
| 86 | 86 |
| 87 // Used for testing only. | 87 // Used for testing only. |
| 88 virtual void SubmitTestCredentials(const std::string& email, | 88 virtual void SubmitTestCredentials(const std::string& email, |
| 89 const std::string& password) = 0; | 89 const std::string& password) = 0; |
| 90 }; | 90 }; |
| 91 | 91 |
| 92 } // namespace chromeos | 92 } // namespace chromeos |
| 93 | 93 |
| 94 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_SCREEN
_ACTOR_H_ | 94 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENTERPRISE_ENROLLMENT_SCREEN
_ACTOR_H_ |
| OLD | NEW |