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

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

Issue 2874413004: [Autofill] Enable Autofill UKM by default. (Closed)
Patch Set: Removed unnecessary includes 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
Index: components/payments/core/journey_logger.cc
diff --git a/components/payments/core/journey_logger.cc b/components/payments/core/journey_logger.cc
index 11665b770cd09012252f156e45b1e64bf866dc45..6ced0eb5ef8e72b28c9ccdf2af5f31923de3c01c 100644
--- a/components/payments/core/journey_logger.cc
+++ b/components/payments/core/journey_logger.cc
@@ -8,7 +8,6 @@
#include "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
-#include "components/autofill/core/browser/autofill_experiments.h"
#include "components/ukm/ukm_entry_builder.h"
#include "components/ukm/ukm_service.h"
@@ -221,7 +220,7 @@ void JourneyLogger::RecordCanMakePaymentEffectOnCompletion(
}
void JourneyLogger::RecordUrlKeyedMetrics(CompletionStatus completion_status) {
- if (!autofill::IsUkmLoggingEnabled() || !ukm_service_ || !url_.is_valid())
+ if (!ukm_service_ || !url_.is_valid())
return;
// Record the Checkout Funnel UKM.
« no previous file with comments | « components/autofill/core/browser/autofill_metrics_unittest.cc ('k') | components/payments/core/journey_logger_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698