Updating XTBs based on .GRDs from branch master
[chromium-blink-merge.git] / ash / test / user_metrics_recorder_test_api.cc
blobb9a5eac75ef036458dc57b93404b4286f4a573f4
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"
7 namespace ash {
8 namespace test {
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();
25 } // namespace test
26 } // namespace ash