[M120 Migration][VD] Enable direct rendering for TVPlus
[platform/framework/web/chromium-efl.git] / components / metrics / expired_histogram_util.h
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.
4
5 #ifndef COMPONENTS_METRICS_EXPIRED_HISTOGRAM_UTIL_H_
6 #define COMPONENTS_METRICS_EXPIRED_HISTOGRAM_UTIL_H_
7
8 #include <stddef.h>
9 #include <stdint.h>
10
11 #include "base/containers/span.h"
12
13 namespace metrics {
14
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);
19
20 }  // namespace metrics
21
22 #endif  // COMPONENTS_METRICS_EXPIRED_HISTOGRAM_UTIL_H_