| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 // Called when the user press AGREE button on ToS page. | 53 // Called when the user press AGREE button on ToS page. |
| 54 // TODO(hidehiko): Currently, due to implementation reason, | 54 // TODO(hidehiko): Currently, due to implementation reason, |
| 55 // this is also called when RETRY on error page is clicked. Fix this. | 55 // this is also called when RETRY on error page is clicked. Fix this. |
| 56 virtual void OnTermsAgreed(bool is_metrics_enabled, | 56 virtual void OnTermsAgreed(bool is_metrics_enabled, |
| 57 bool is_backup_and_restore_enabled, | 57 bool is_backup_and_restore_enabled, |
| 58 bool is_location_service_enabled) {} | 58 bool is_location_service_enabled) {} |
| 59 | 59 |
| 60 // Called when LSO auth token fetch is successfully completed. | 60 // Called when LSO auth token fetch is successfully completed. |
| 61 virtual void OnAuthSucceeded(const std::string& auth_code) {} | 61 virtual void OnAuthSucceeded(const std::string& auth_code) {} |
| 62 | 62 |
| 63 // Called when LSO auth token fetch has failed. |
| 64 virtual void OnAuthFailed() {} |
| 65 |
| 63 // Called when "RETRY" button on the error page is clicked. | 66 // Called when "RETRY" button on the error page is clicked. |
| 64 virtual void OnRetryClicked() {} | 67 virtual void OnRetryClicked() {} |
| 65 | 68 |
| 66 // Called when send feedback button on error page is clicked. | 69 // Called when send feedback button on error page is clicked. |
| 67 virtual void OnSendFeedbackClicked() {} | 70 virtual void OnSendFeedbackClicked() {} |
| 68 }; | 71 }; |
| 69 | 72 |
| 70 static const char kHostAppId[]; | 73 static const char kHostAppId[]; |
| 71 static const char kStorageId[]; | 74 static const char kStorageId[]; |
| 72 | 75 |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 bool is_arc_managed_ = false; | 181 bool is_arc_managed_ = false; |
| 179 | 182 |
| 180 PreferenceCheckboxData metrics_checkbox_; | 183 PreferenceCheckboxData metrics_checkbox_; |
| 181 PreferenceCheckboxData backup_and_restore_checkbox_; | 184 PreferenceCheckboxData backup_and_restore_checkbox_; |
| 182 PreferenceCheckboxData location_services_checkbox_; | 185 PreferenceCheckboxData location_services_checkbox_; |
| 183 | 186 |
| 184 DISALLOW_COPY_AND_ASSIGN(ArcSupportHost); | 187 DISALLOW_COPY_AND_ASSIGN(ArcSupportHost); |
| 185 }; | 188 }; |
| 186 | 189 |
| 187 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_SUPPORT_HOST_H_ | 190 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_SUPPORT_HOST_H_ |
| OLD | NEW |