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

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 2642213005: [Payments] Add CanMakePayment metrics. (Closed)
Patch Set: Rebase 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:
Download patch
« no previous file with comments | « chrome/test/data/payments/payment_request_can_make_payment_metrics_test.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 2f5cccc48b72da5d595df92122e83ad2a8daab54..c272556ab5dba512af979b524fc0400ff6a262c0 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -45486,6 +45486,52 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram
+ name="PaymentRequest.CanMakePayment.NotUsed.WithShowEffectOnCompletion"
+ enum="PaymentRequestFlowCompletionStatus">
+ <owner>sebsg@chromium.org</owner>
+ <summary>
+ Whether the flow was completed when CanMakePayment was not called by the
+ merchant.
+ </summary>
+</histogram>
+
+<histogram name="PaymentRequest.CanMakePayment.Usage" enum="Boolean">
+ <owner>sebsg@chromium.org</owner>
+ <summary>
+ Whether the merchant used the CanMakePayment method during a Payment
+ Request.
+ </summary>
+</histogram>
+
+<histogram name="PaymentRequest.CanMakePayment.Used.EffectOnShow"
+ enum="PaymentRequestCanMakePaymentEffectOnShow">
+ <owner>sebsg@chromium.org</owner>
+ <summary>
+ The effect of the CanMakePayment return value on whether Show was called.
+ </summary>
+</histogram>
+
+<histogram
+ name="PaymentRequest.CanMakePayment.Used.FalseWithShowEffectOnCompletion"
+ enum="PaymentRequestFlowCompletionStatus">
+ <owner>sebsg@chromium.org</owner>
+ <summary>
+ Whether the flow was completed when CanMakePayment was called by the
+ merchant and returned false.
+ </summary>
+</histogram>
+
+<histogram
+ name="PaymentRequest.CanMakePayment.Used.TrueWithShowEffectOnCompletion"
+ enum="PaymentRequestFlowCompletionStatus">
+ <owner>sebsg@chromium.org</owner>
+ <summary>
+ Whether the flow was completed when CanMakePayment was called by the
+ merchant and returned true.
+ </summary>
+</histogram>
+
<histogram name="PaymentRequest.CheckoutFunnel.Aborted"
enum="PaymentRequestAbortReason">
<owner>sebsg@chromium.org</owner>
@@ -100820,6 +100866,20 @@ value.
<int value="8" label="Other"/>
</enum>
+<enum name="PaymentRequestCanMakePaymentEffectOnShow" type="int">
+ <int value="0"
+ label="CanMakePayment() returned false and show() was not called"/>
+ <int value="1" label="CanMakePayment() returned false and show() was called"/>
+ <int value="2"
+ label="CanMakePayment() returned true and show() was not called"/>
+ <int value="3" label="CanMakePayment() returned true and show() was called"/>
+</enum>
+
+<enum name="PaymentRequestFlowCompletionStatus" type="int">
+ <int value="0" label="Completed"/>
+ <int value="1" label="Aborted"/>
+</enum>
+
<enum name="PaymentRequestPaymentMethods" type="int">
<int value="0" label="Autofill credit cards"/>
<int value="1" label="Android Pay"/>
« no previous file with comments | « chrome/test/data/payments/payment_request_can_make_payment_metrics_test.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698