summaryrefslogtreecommitdiff
path: root/chromium/components/metrics/metrics_service_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/metrics/metrics_service_client.h')
-rw-r--r--chromium/components/metrics/metrics_service_client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/components/metrics/metrics_service_client.h b/chromium/components/metrics/metrics_service_client.h
index e22f276d843..ea907d78820 100644
--- a/chromium/components/metrics/metrics_service_client.h
+++ b/chromium/components/metrics/metrics_service_client.h
@@ -130,6 +130,10 @@ class MetricsServiceClient {
// Returns whether cellular logic is enabled for metrics reporting.
virtual bool IsUMACellularUploadLogicEnabled();
+ // Returns whether the allowlist for external experiment ids is enabled. Some
+ // embedders like WebLayer disable it. For Chrome, it should be enabled.
+ virtual bool IsExternalExperimentAllowlistEnabled();
+
// Returns true iff UKM is allowed for all profiles.
// See //components/ukm/observers/ukm_consent_state_observer.h for details.
virtual bool IsUkmAllowedForAllProfiles();