OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_ARC_ARC_SUPPORT_HOST_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_SUPPORT_HOST_H_ |
6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_SUPPORT_HOST_H_ | 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_SUPPORT_HOST_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 virtual void OnWindowClosed() {} | 52 virtual void OnWindowClosed() {} |
53 | 53 |
54 // Called when the user press AGREE button on ToS page. | 54 // Called when the user press AGREE button on ToS page. |
55 virtual void OnTermsAgreed(bool is_metrics_enabled, | 55 virtual void OnTermsAgreed(bool is_metrics_enabled, |
56 bool is_backup_and_restore_enabled, | 56 bool is_backup_and_restore_enabled, |
57 bool is_location_service_enabled) {} | 57 bool is_location_service_enabled) {} |
58 | 58 |
59 // Called when LSO auth token fetch is successfully completed. | 59 // Called when LSO auth token fetch is successfully completed. |
60 virtual void OnAuthSucceeded(const std::string& auth_code) {} | 60 virtual void OnAuthSucceeded(const std::string& auth_code) {} |
61 | 61 |
| 62 // Called when LSO auth token fetch has failed. |
| 63 virtual void OnAuthFailed() {} |
| 64 |
62 // Called when "RETRY" button on the error page is clicked. | 65 // Called when "RETRY" button on the error page is clicked. |
63 virtual void OnRetryClicked() {} | 66 virtual void OnRetryClicked() {} |
64 | 67 |
65 // Called when send feedback button on error page is clicked. | 68 // Called when send feedback button on error page is clicked. |
66 virtual void OnSendFeedbackClicked() {} | 69 virtual void OnSendFeedbackClicked() {} |
67 }; | 70 }; |
68 | 71 |
69 static const char kHostAppId[]; | 72 static const char kHostAppId[]; |
70 static const char kStorageId[]; | 73 static const char kStorageId[]; |
71 | 74 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 bool is_arc_managed_ = false; | 186 bool is_arc_managed_ = false; |
184 | 187 |
185 PreferenceCheckboxData metrics_checkbox_; | 188 PreferenceCheckboxData metrics_checkbox_; |
186 PreferenceCheckboxData backup_and_restore_checkbox_; | 189 PreferenceCheckboxData backup_and_restore_checkbox_; |
187 PreferenceCheckboxData location_services_checkbox_; | 190 PreferenceCheckboxData location_services_checkbox_; |
188 | 191 |
189 DISALLOW_COPY_AND_ASSIGN(ArcSupportHost); | 192 DISALLOW_COPY_AND_ASSIGN(ArcSupportHost); |
190 }; | 193 }; |
191 | 194 |
192 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_SUPPORT_HOST_H_ | 195 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_SUPPORT_HOST_H_ |
OLD | NEW |