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

Unified Diff: components/payments/core/journey_logger.cc

Issue 2929133004: Merge-60 [Payments] Record abort reasons on desktop. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/payments/core/journey_logger.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/payments/core/journey_logger.cc
diff --git a/components/payments/core/journey_logger.cc b/components/payments/core/journey_logger.cc
index 0ec4e3df51e08728840f521cee4f101529e71cfc..7eee988f1bedd8827861dc3c2f2bd5a6fdb0d0c5 100644
--- a/components/payments/core/journey_logger.cc
+++ b/components/payments/core/journey_logger.cc
@@ -116,7 +116,8 @@ void JourneyLogger::SetAborted(AbortReason reason) {
base::UmaHistogramEnumeration("PaymentRequest.CheckoutFunnel.Aborted", reason,
ABORT_REASON_MAX);
- if (reason == ABORT_REASON_ABORTED_BY_USER)
+ if (reason == ABORT_REASON_ABORTED_BY_USER ||
+ reason == ABORT_REASON_USER_NAVIGATION)
RecordJourneyStatsHistograms(COMPLETION_STATUS_USER_ABORTED);
else
RecordJourneyStatsHistograms(COMPLETION_STATUS_OTHER_ABORTED);
« no previous file with comments | « components/payments/core/journey_logger.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698