| Index: chrome/browser/chromeos/login/screens/host_pairing_screen_view.h
|
| diff --git a/chrome/browser/chromeos/login/screens/host_pairing_screen_view.h b/chrome/browser/chromeos/login/screens/host_pairing_screen_view.h
|
| index 2958bba3b52457f214cde6b8a2c83590a9b5d31e..99a4decfe50fa764c7c68d1d35d497131f033eed 100644
|
| --- a/chrome/browser/chromeos/login/screens/host_pairing_screen_view.h
|
| +++ b/chrome/browser/chromeos/login/screens/host_pairing_screen_view.h
|
| @@ -6,12 +6,19 @@
|
| #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_HOST_PAIRING_SCREEN_VIEW_H_
|
|
|
| #include "base/macros.h"
|
| +#include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper.h"
|
| #include "chrome/browser/chromeos/login/oobe_screen.h"
|
|
|
| namespace base {
|
| class DictionaryValue;
|
| }
|
|
|
| +class GoogleServiceAuthError;
|
| +
|
| +namespace policy {
|
| +class EnrollmentStatus;
|
| +}
|
| +
|
| namespace chromeos {
|
|
|
| namespace host_pairing {
|
| @@ -24,6 +31,7 @@ extern const char kContextKeyDeviceName[];
|
| extern const char kContextKeyConfirmationCode[];
|
| extern const char kContextKeyEnrollmentDomain[];
|
| extern const char kContextKeyUpdateProgress[];
|
| +extern const char kContextKeyEnrollmentError[];
|
|
|
| // Pages names.
|
| extern const char kPageWelcome[];
|
| @@ -58,6 +66,13 @@ class HostPairingScreenView {
|
| virtual void SetDelegate(Delegate* delegate) = 0;
|
| virtual void OnContextChanged(const base::DictionaryValue& diff) = 0;
|
|
|
| + virtual std::string GetErrorStringFromAuthError(
|
| + const GoogleServiceAuthError& error) = 0;
|
| + virtual std::string GetErrorStringFromEnrollmentError(
|
| + policy::EnrollmentStatus status) = 0;
|
| + virtual std::string GetErrorStringFromOtherError(
|
| + EnterpriseEnrollmentHelper::OtherError error) = 0;
|
| +
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(HostPairingScreenView);
|
| };
|
|
|