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

Side by Side Diff: components/payments/core/journey_logger.h

Issue 2851893002: [Payments] Record CanMakePayment metrics on Desktop. (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_PAYMENTS_CORE_JOURNEY_LOGGER_H_ 5 #ifndef COMPONENTS_PAYMENTS_CORE_JOURNEY_LOGGER_H_
6 #define COMPONENTS_PAYMENTS_CORE_JOURNEY_LOGGER_H_ 6 #define COMPONENTS_PAYMENTS_CORE_JOURNEY_LOGGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 bool is_incognito_; 163 bool is_incognito_;
164 164
165 // Accumulates the many events that have happened during the Payment Request. 165 // Accumulates the many events that have happened during the Payment Request.
166 int events_; 166 int events_;
167 167
168 const GURL url_; 168 const GURL url_;
169 169
170 // Not owned, will outlive this object. 170 // Not owned, will outlive this object.
171 ukm::UkmService* ukm_service_; 171 ukm::UkmService* ukm_service_;
172 172
173 bool has_recorded_;
Mathieu 2017/05/02 20:56:47 can also do = false here
sebsg 2017/05/02 22:15:08 Done.
174
173 DISALLOW_COPY_AND_ASSIGN(JourneyLogger); 175 DISALLOW_COPY_AND_ASSIGN(JourneyLogger);
174 }; 176 };
175 177
176 } // namespace payments 178 } // namespace payments
177 179
178 #endif // COMPONENTS_PAYMENTS_CORE_JOURNEY_LOGGER_H_ 180 #endif // COMPONENTS_PAYMENTS_CORE_JOURNEY_LOGGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698