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

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

Issue 2851893002: [Payments] Record CanMakePayment metrics on Desktop. (Closed)
Patch Set: Addressed Mathp's comments Created 3 years, 8 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
Index: components/payments/core/journey_logger.h
diff --git a/components/payments/core/journey_logger.h b/components/payments/core/journey_logger.h
index c3330eb854043a3595a7dca6f3e90470adc6562e..cc65664f8c7f5048d2b3ef1d599a873e32b7c510 100644
--- a/components/payments/core/journey_logger.h
+++ b/components/payments/core/journey_logger.h
@@ -157,9 +157,10 @@ class JourneyLogger {
void RecordUrlKeyedMetrics(CompletionStatus completion_status);
SectionStats sections_[NUMBER_OF_SECTIONS];
- bool was_can_make_payments_used_;
- bool could_make_payment_;
- bool was_show_called_;
+ bool has_recorded_ = false;
+ bool was_can_make_payments_used_ = false;
+ bool could_make_payment_ = false;
+ bool was_show_called_ = false;
bool is_incognito_;
// Accumulates the many events that have happened during the Payment Request.

Powered by Google App Engine
This is Rietveld 408576698