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

Side by Side Diff: chrome/browser/chromeos/arc/arc_auth_service.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
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_auth_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_AUTH_SERVICE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_
6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_ 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <ostream> 9 #include <ostream>
10 #include <string> 10 #include <string>
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 201
202 // sync_preferences::SyncedPrefObserver 202 // sync_preferences::SyncedPrefObserver
203 void OnSyncedPrefChanged(const std::string& path, bool from_sync) override; 203 void OnSyncedPrefChanged(const std::string& path, bool from_sync) override;
204 204
205 // ArcSupportHost::Observer: 205 // ArcSupportHost::Observer:
206 void OnWindowClosed() override; 206 void OnWindowClosed() override;
207 void OnTermsAgreed(bool is_metrics_enabled, 207 void OnTermsAgreed(bool is_metrics_enabled,
208 bool is_backup_and_restore_enabled, 208 bool is_backup_and_restore_enabled,
209 bool is_location_service_enabled) override; 209 bool is_location_service_enabled) override;
210 void OnAuthSucceeded(const std::string& auth_code) override; 210 void OnAuthSucceeded(const std::string& auth_code) override;
211 void OnAuthFailed() override;
212
211 void OnRetryClicked() override; 213 void OnRetryClicked() override;
212 void OnSendFeedbackClicked() override; 214 void OnSendFeedbackClicked() override;
213 215
214 // arc::ArcOptInPreferenceHandlerObserver: 216 // arc::ArcOptInPreferenceHandlerObserver:
215 void OnMetricsModeChanged(bool enabled, bool managed) override; 217 void OnMetricsModeChanged(bool enabled, bool managed) override;
216 void OnBackupAndRestoreModeChanged(bool enabled, bool managed) override; 218 void OnBackupAndRestoreModeChanged(bool enabled, bool managed) override;
217 void OnLocationServicesModeChanged(bool enabled, bool managed) override; 219 void OnLocationServicesModeChanged(bool enabled, bool managed) override;
218 220
219 // Stops ARC without changing ArcEnabled preference. 221 // Stops ARC without changing ArcEnabled preference.
220 void StopArc(); 222 void StopArc();
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 317
316 DISALLOW_COPY_AND_ASSIGN(ArcAuthService); 318 DISALLOW_COPY_AND_ASSIGN(ArcAuthService);
317 }; 319 };
318 320
319 // Outputs the stringified |state| to |os|. This is only for logging purposes. 321 // Outputs the stringified |state| to |os|. This is only for logging purposes.
320 std::ostream& operator<<(std::ostream& os, const ArcAuthService::State& state); 322 std::ostream& operator<<(std::ostream& os, const ArcAuthService::State& state);
321 323
322 } // namespace arc 324 } // namespace arc
323 325
324 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_ 326 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_auth_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698