1 // Copyright 2022 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "components/metrics/metrics_features.h"
7 namespace metrics::features {
9 BASE_FEATURE(kMetricsServiceAllowEarlyLogClose,
10 "MetricsServiceAllowEarlyLogClose",
11 base::FEATURE_DISABLED_BY_DEFAULT);
13 BASE_FEATURE(kStructuredMetrics,
14 "EnableStructuredMetrics",
15 base::FEATURE_ENABLED_BY_DEFAULT);
17 #if BUILDFLAG(IS_ANDROID)
18 BASE_FEATURE(kMergeSubprocessMetricsOnBgAndFg,
19 "MergeSubprocessMetricsOnBgAndFg",
20 base::FEATURE_DISABLED_BY_DEFAULT);
21 #endif // BUILDFLAG(IS_ANDROID)
23 BASE_FEATURE(kSubprocessMetricsAsync,
24 "SubprocessMetricsAsync",
25 base::FEATURE_DISABLED_BY_DEFAULT);
27 const base::FeatureParam<bool> kPeriodicMergeAsync{&kSubprocessMetricsAsync,
28 "PeriodicMergeAsync", false};
30 const base::FeatureParam<bool> kDeregisterAsync{&kSubprocessMetricsAsync,
31 "DeregisterAsync", false};
33 const base::FeatureParam<bool> kDeregisterSequenced{
34 &kSubprocessMetricsAsync, "DeregisterSequenced", false};
36 BASE_FEATURE(kFlushPersistentSystemProfileOnWrite,
37 "FlushPersistentSystemProfileOnWrite",
38 base::FEATURE_DISABLED_BY_DEFAULT);
40 BASE_FEATURE(kMetricsServiceDeltaSnapshotInBg,
41 "MetricsServiceDeltaSnapshotInBg",
42 base::FEATURE_DISABLED_BY_DEFAULT);
44 BASE_FEATURE(kReportingServiceAlwaysFlush,
45 "ReportingServiceAlwaysFlush",
46 base::FEATURE_DISABLED_BY_DEFAULT);
48 } // namespace metrics::features