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

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

Issue 2904083003: [Payments] Use C++ metric enums in Java. (Closed)
Patch Set: Enum rename for Windows Created 3 years, 7 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') | components/payments/core/journey_logger_unittest.cc » ('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 af815ccd203ec74af8f78ef08cf01088c44b2b09..2e76c2248e9ccc83956c0c42fc5830b793a190bd 100644
--- a/components/payments/core/journey_logger.cc
+++ b/components/payments/core/journey_logger.cc
@@ -242,12 +242,12 @@ void JourneyLogger::RecordCanMakePaymentEffectOnShow() {
int effect_on_show = 0;
if (was_show_called_)
- effect_on_show |= CMP_SHOW_DID_SHOW;
+ effect_on_show |= CMP_EFFECT_ON_SHOW_DID_SHOW;
if (could_make_payment_)
- effect_on_show |= CMP_SHOW_COULD_MAKE_PAYMENT;
+ effect_on_show |= CMP_EFFECT_ON_SHOW_COULD_MAKE_PAYMENT;
UMA_HISTOGRAM_ENUMERATION("PaymentRequest.CanMakePayment.Used.EffectOnShow",
- effect_on_show, CMP_SHOW_MAX);
+ effect_on_show, CMP_EFFECT_ON_SHOW_MAX);
}
void JourneyLogger::RecordCanMakePaymentEffectOnCompletion(
« no previous file with comments | « components/payments/core/journey_logger.h ('k') | components/payments/core/journey_logger_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698