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

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

Issue 2922383002: [Merge M60] arc: Provide metric to monitor Play Store window is shown time. (Closed)
Patch Set: Created 3 years, 6 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_optin_uma.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_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 #include "components/arc/common/auth.mojom.h" 10 #include "components/arc/common/auth.mojom.h"
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 }; 179 };
180 180
181 void UpdateOptInActionUMA(OptInActionType type); 181 void UpdateOptInActionUMA(OptInActionType type);
182 void UpdateOptInCancelUMA(OptInCancelReason reason); 182 void UpdateOptInCancelUMA(OptInCancelReason reason);
183 void UpdateOptInFlowResultUMA(OptInFlowResult result); 183 void UpdateOptInFlowResultUMA(OptInFlowResult result);
184 void UpdateEnabledStateUMA(bool enabled); 184 void UpdateEnabledStateUMA(bool enabled);
185 void UpdateProvisioningResultUMA(ProvisioningResult result, bool managed); 185 void UpdateProvisioningResultUMA(ProvisioningResult result, bool managed);
186 void UpdateProvisioningTiming(const base::TimeDelta& elapsed_time, 186 void UpdateProvisioningTiming(const base::TimeDelta& elapsed_time,
187 bool success, 187 bool success,
188 bool managed); 188 bool managed);
189 void UpdatePlayStoreShowTime(const base::TimeDelta& elapsed_time, bool managed);
189 void UpdateSilentAuthCodeUMA(OptInSilentAuthCode state); 190 void UpdateSilentAuthCodeUMA(OptInSilentAuthCode state);
190 void UpdateAuthTiming(const char* histogram_name, base::TimeDelta elapsed_time); 191 void UpdateAuthTiming(const char* histogram_name, base::TimeDelta elapsed_time);
191 void UpdateAuthCheckinAttempts(int32_t num_attempts); 192 void UpdateAuthCheckinAttempts(int32_t num_attempts);
192 void UpdateAuthAccountCheckStatus(mojom::AccountCheckStatus status); 193 void UpdateAuthAccountCheckStatus(mojom::AccountCheckStatus status);
193 194
194 // Outputs the stringified |result| to |os|. This is only for logging purposes. 195 // Outputs the stringified |result| to |os|. This is only for logging purposes.
195 std::ostream& operator<<(std::ostream& os, const ProvisioningResult& result); 196 std::ostream& operator<<(std::ostream& os, const ProvisioningResult& result);
196 197
197 } // namespace arc 198 } // namespace arc
198 199
199 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_OPTIN_UMA_H_ 200 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_OPTIN_UMA_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_optin_uma.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698