1 // Copyright 2015 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.
5 #include "ash/test/user_metrics_recorder_test_api.h"
10 UserMetricsRecorderTestAPI::UserMetricsRecorderTestAPI()
11 : user_metrics_recorder_(false) {
14 UserMetricsRecorderTestAPI::~UserMetricsRecorderTestAPI() {
17 void UserMetricsRecorderTestAPI::RecordPeriodicMetrics() {
18 user_metrics_recorder_
.RecordPeriodicMetrics();
21 bool UserMetricsRecorderTestAPI::IsUserInActiveDesktopEnvironment() const {
22 return user_metrics_recorder_
.IsUserInActiveDesktopEnvironment();