1 // Copyright 2018 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 #ifndef COMPONENTS_METRICS_EXPIRED_HISTOGRAM_UTIL_H_
6 #define COMPONENTS_METRICS_EXPIRED_HISTOGRAM_UTIL_H_
11 #include "base/containers/span.h"
15 // Enables histogram expiry checker if it is enabled by field trial. Histogram
16 // expiry is disbaled by default so that unit tests don't fail unexpectedly when
17 // a histogram expires.
18 void EnableExpiryChecker(base::span<const uint32_t> expired_histograms_hashes);
20 } // namespace metrics
22 #endif // COMPONENTS_METRICS_EXPIRED_HISTOGRAM_UTIL_H_