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_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_SCREEN_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_SCREEN_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 const policy::EnrollmentConfig& enrollment_config, | 57 const policy::EnrollmentConfig& enrollment_config, |
58 pairing_chromeos::ControllerPairingController* shark_controller); | 58 pairing_chromeos::ControllerPairingController* shark_controller); |
59 | 59 |
60 // BaseScreen implementation: | 60 // BaseScreen implementation: |
61 void Show() override; | 61 void Show() override; |
62 void Hide() override; | 62 void Hide() override; |
63 | 63 |
64 // EnrollmentScreenView::Controller implementation: | 64 // EnrollmentScreenView::Controller implementation: |
65 void OnLoginDone(const std::string& user, | 65 void OnLoginDone(const std::string& user, |
66 const std::string& auth_code) override; | 66 const std::string& auth_code) override; |
| 67 void OnLicenseTypeSelected(const std::string& license_type) override; |
67 void OnRetry() override; | 68 void OnRetry() override; |
68 void OnCancel() override; | 69 void OnCancel() override; |
69 void OnConfirmationClosed() override; | 70 void OnConfirmationClosed() override; |
70 void OnAdJoined(const std::string& realm) override; | 71 void OnAdJoined(const std::string& realm) override; |
71 void OnDeviceAttributeProvided(const std::string& asset_id, | 72 void OnDeviceAttributeProvided(const std::string& asset_id, |
72 const std::string& location) override; | 73 const std::string& location) override; |
73 | 74 |
74 // EnterpriseEnrollmentHelper::EnrollmentStatusConsumer implementation: | 75 // EnterpriseEnrollmentHelper::EnrollmentStatusConsumer implementation: |
75 void OnAuthError(const GoogleServiceAuthError& error) override; | 76 void OnAuthError(const GoogleServiceAuthError& error) override; |
76 void OnEnrollmentError(policy::EnrollmentStatus status) override; | 77 void OnEnrollmentError(policy::EnrollmentStatus status) override; |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 std::unique_ptr<EnterpriseEnrollmentHelper> enrollment_helper_; | 184 std::unique_ptr<EnterpriseEnrollmentHelper> enrollment_helper_; |
184 OnDomainJoinedCallback on_joined_callback_; | 185 OnDomainJoinedCallback on_joined_callback_; |
185 base::WeakPtrFactory<EnrollmentScreen> weak_ptr_factory_; | 186 base::WeakPtrFactory<EnrollmentScreen> weak_ptr_factory_; |
186 | 187 |
187 DISALLOW_COPY_AND_ASSIGN(EnrollmentScreen); | 188 DISALLOW_COPY_AND_ASSIGN(EnrollmentScreen); |
188 }; | 189 }; |
189 | 190 |
190 } // namespace chromeos | 191 } // namespace chromeos |
191 | 192 |
192 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_SCREEN_H_ | 193 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_ENROLLMENT_ENROLLMENT_SCREEN_H_ |
OLD | NEW |