[M73 Dev][EFL] Disable VizDisplayCompositor for EFL port
[platform/framework/web/chromium-efl.git] / components / ukm / ukm_rotation_scheduler.cc
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "components/ukm/ukm_rotation_scheduler.h"
6
7 #include "base/metrics/histogram_macros.h"
8
9 namespace ukm {
10
11 UkmRotationScheduler::UkmRotationScheduler(
12     const base::Closure& upload_callback,
13     const base::Callback<base::TimeDelta(void)>& upload_interval_callback)
14     : metrics::MetricsRotationScheduler(upload_callback,
15                                         upload_interval_callback) {}
16
17 UkmRotationScheduler::~UkmRotationScheduler() = default;
18
19 void UkmRotationScheduler::LogMetricsInitSequence(InitSequence sequence) {
20   UMA_HISTOGRAM_ENUMERATION("UKM.InitSequence", sequence,
21                             INIT_SEQUENCE_ENUM_SIZE);
22 }
23
24 }  // namespace ukm