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

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

Issue 2734983002: [Merge M57] arc: Handle metrics for Auth operations. (Closed)
Patch Set: fix merge conflict/manually tested with/without android changes Created 3 years, 9 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_OPTIN_UMA_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_OPTIN_UMA_H_
6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_OPTIN_UMA_H_ 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_OPTIN_UMA_H_
7 7
8 #include <ostream> 8 #include <ostream>
9 9
10 namespace base { 10 namespace base {
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 }; 114 };
115 115
116 void UpdateOptInActionUMA(OptInActionType type); 116 void UpdateOptInActionUMA(OptInActionType type);
117 void UpdateOptInCancelUMA(OptInCancelReason reason); 117 void UpdateOptInCancelUMA(OptInCancelReason reason);
118 void UpdateEnabledStateUMA(bool enabled); 118 void UpdateEnabledStateUMA(bool enabled);
119 void UpdateProvisioningResultUMA(ProvisioningResult result, bool managed); 119 void UpdateProvisioningResultUMA(ProvisioningResult result, bool managed);
120 void UpdateProvisioningTiming(const base::TimeDelta& elapsed_time, 120 void UpdateProvisioningTiming(const base::TimeDelta& elapsed_time,
121 bool success, 121 bool success,
122 bool managed); 122 bool managed);
123 void UpdateSilentAuthCodeUMA(OptInSilentAuthCode state); 123 void UpdateSilentAuthCodeUMA(OptInSilentAuthCode state);
124 void UpdateAuthTiming(const char* histogram_name, base::TimeDelta elapsed_time);
125 void UpdateAuthCheckinAttempts(int32_t num_attempts);
124 126
125 // Outputs the stringified |result| to |os|. This is only for logging purposes. 127 // Outputs the stringified |result| to |os|. This is only for logging purposes.
126 std::ostream& operator<<(std::ostream& os, const ProvisioningResult& result); 128 std::ostream& operator<<(std::ostream& os, const ProvisioningResult& result);
127 129
128 } // namespace arc 130 } // namespace arc
129 131
130 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_OPTIN_UMA_H_ 132 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_OPTIN_UMA_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/arc/arc_auth_service.cc ('k') | chrome/browser/chromeos/arc/arc_optin_uma.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698