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

Unified Diff: components/payments/content/payment_request.cc

Issue 2917213003: [Payments] Record SelectedPaymentMethod metric 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 | « chrome/test/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/payments/content/payment_request.cc
diff --git a/components/payments/content/payment_request.cc b/components/payments/content/payment_request.cc
index 852d877f889932c288f0aa0fff98927d9600cc65..41ac5409766bb491ca639c5338742e32c75c9ff1 100644
--- a/components/payments/content/payment_request.cc
+++ b/components/payments/content/payment_request.cc
@@ -268,6 +268,8 @@ void PaymentRequest::OnConnectionTerminated() {
}
void PaymentRequest::Pay() {
+ journey_logger_.SetSelectedPaymentMethod(
+ JourneyLogger::SELECTED_PAYMENT_METHOD_CREDIT_CARD);
state_->GeneratePaymentResponse();
}
« no previous file with comments | « chrome/test/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698