Chromium Code Reviews| Index: components/payments/core/journey_logger.h |
| diff --git a/components/payments/core/journey_logger.h b/components/payments/core/journey_logger.h |
| index 5c35c0d7ecfa3015fcc4fd653f6d092183858a6d..f2574735319eb415275a1b16932f5c2784332db9 100644 |
| --- a/components/payments/core/journey_logger.h |
| +++ b/components/payments/core/journey_logger.h |
| @@ -53,7 +53,7 @@ class JourneyLogger { |
| static const int CMP_SHOW_COULD_MAKE_PAYMENT_ = 1 << 1; |
| static const int CMP_SHOW_MAX = 4; |
| - JourneyLogger(); |
| + JourneyLogger(bool is_incognito); |
|
please use gerrit instead
2017/04/04 15:27:35
explicit
sebsg
2017/04/04 15:50:37
Done.
|
| ~JourneyLogger(); |
| // Increments the number of selection adds for the specified section. |
| @@ -112,7 +112,8 @@ class JourneyLogger { |
| // merchant. |
| void RecordSectionSpecificStats(CompletionStatus completion_status); |
| - // Records the metrics related the the CanMakePayment method. |
| + // Records the metrics related the the CanMakePayment method, if the Payment |
|
please use gerrit instead
2017/04/04 15:27:35
"unless in incognito mode" feels more succinct tha
sebsg
2017/04/04 15:50:37
Done.
|
| + // Request was not done in an incognito tab. |
| void RecordCanMakePaymentStats(CompletionStatus completion_status); |
| // Records CanMakePayment's return value effect on whether the Payment Request |
| @@ -128,6 +129,7 @@ class JourneyLogger { |
| bool was_can_make_payments_used_; |
| bool could_make_payment_; |
| bool was_show_called_; |
| + bool is_incognito_; |
| DISALLOW_COPY_AND_ASSIGN(JourneyLogger); |
| }; |