| 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_UI_WEBUI_CHROMEOS_LOGIN_ENTERPRISE_OAUTH_ENROLLMENT_SCREE
N_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENTERPRISE_OAUTH_ENROLLMENT_SCREE
N_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENTERPRISE_OAUTH_ENROLLMENT_SCREE
N_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENTERPRISE_OAUTH_ENROLLMENT_SCREE
N_HANDLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 // Implements WebUIMessageHandler: | 35 // Implements WebUIMessageHandler: |
| 36 virtual void RegisterMessages() OVERRIDE; | 36 virtual void RegisterMessages() OVERRIDE; |
| 37 | 37 |
| 38 // Implements EnterpriseEnrollmentScreenActor: | 38 // Implements EnterpriseEnrollmentScreenActor: |
| 39 virtual void SetController(Controller* controller) OVERRIDE; | 39 virtual void SetController(Controller* controller) OVERRIDE; |
| 40 virtual void PrepareToShow() OVERRIDE; | 40 virtual void PrepareToShow() OVERRIDE; |
| 41 virtual void Show() OVERRIDE; | 41 virtual void Show() OVERRIDE; |
| 42 virtual void Hide() OVERRIDE; | 42 virtual void Hide() OVERRIDE; |
| 43 virtual void ShowConfirmationScreen() OVERRIDE; | 43 virtual void ShowConfirmationScreen() OVERRIDE; |
| 44 virtual void ShowAuthError(const GoogleServiceAuthError& error) OVERRIDE; | 44 virtual void ShowAuthError(const GoogleServiceAuthError& error) OVERRIDE; |
| 45 virtual void ShowAccountError() OVERRIDE; | 45 virtual void ShowEnrollmentError(EnrollmentError error_code) OVERRIDE; |
| 46 virtual void ShowSerialNumberError() OVERRIDE; | |
| 47 virtual void ShowEnrollmentModeError() OVERRIDE; | |
| 48 virtual void ShowFatalAuthError() OVERRIDE; | |
| 49 virtual void ShowFatalEnrollmentError() OVERRIDE; | |
| 50 virtual void ShowAutoEnrollmentError() OVERRIDE; | |
| 51 virtual void ShowNetworkEnrollmentError() OVERRIDE; | |
| 52 virtual void ShowLockboxTimeoutError() OVERRIDE; | |
| 53 virtual void ShowDomainMismatchError() OVERRIDE; | |
| 54 virtual void SubmitTestCredentials(const std::string& email, | 46 virtual void SubmitTestCredentials(const std::string& email, |
| 55 const std::string& password) OVERRIDE; | 47 const std::string& password) OVERRIDE; |
| 56 | 48 |
| 57 // Implements BaseScreenHandler: | 49 // Implements BaseScreenHandler: |
| 58 virtual void Initialize() OVERRIDE; | 50 virtual void Initialize() OVERRIDE; |
| 59 virtual void GetLocalizedStrings( | 51 virtual void GetLocalizedStrings( |
| 60 base::DictionaryValue* localized_strings) OVERRIDE; | 52 base::DictionaryValue* localized_strings) OVERRIDE; |
| 61 | 53 |
| 62 // Implements GaiaOAuthConsumer: | 54 // Implements GaiaOAuthConsumer: |
| 63 virtual void OnGetOAuthTokenFailure( | 55 virtual void OnGetOAuthTokenFailure( |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 | 139 |
| 148 // What to do when browsing data is removed. | 140 // What to do when browsing data is removed. |
| 149 base::Closure action_on_browsing_data_removed_; | 141 base::Closure action_on_browsing_data_removed_; |
| 150 | 142 |
| 151 DISALLOW_COPY_AND_ASSIGN(EnterpriseOAuthEnrollmentScreenHandler); | 143 DISALLOW_COPY_AND_ASSIGN(EnterpriseOAuthEnrollmentScreenHandler); |
| 152 }; | 144 }; |
| 153 | 145 |
| 154 } // namespace chromeos | 146 } // namespace chromeos |
| 155 | 147 |
| 156 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENTERPRISE_OAUTH_ENROLLMENT_SC
REEN_HANDLER_H_ | 148 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_ENTERPRISE_OAUTH_ENROLLMENT_SC
REEN_HANDLER_H_ |
| OLD | NEW |