Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: chrome/browser/chromeos/arc/arc_support_host.h

Issue 2642763008: [Merge M56] arc: Restore UMA statistics for failures in LSO flow. (Closed)
Patch Set: drop not required change Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/arc/arc_auth_service.cc ('k') | chrome/browser/chromeos/arc/arc_support_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698