Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Side by Side Diff: ash/test/user_metrics_recorder_test_api.cc

Issue 1093483002: Changed when the UMA metric Ash.NumberOfVisibleWindowsInPrimaryDisplay is recorded. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments from patch set 4. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/test/user_metrics_recorder_test_api.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 #include "ash/test/user_metrics_recorder_test_api.h"
6
7 namespace ash {
8 namespace test {
9
10 UserMetricsRecorderTestAPI::UserMetricsRecorderTestAPI()
11 : user_metrics_recorder_(false) {
12 }
13
14 UserMetricsRecorderTestAPI::~UserMetricsRecorderTestAPI() {
15 }
16
17 void UserMetricsRecorderTestAPI::RecordPeriodicMetrics() {
18 user_metrics_recorder_.RecordPeriodicMetrics();
19 }
20
21 bool UserMetricsRecorderTestAPI::IsUserInActiveDesktopEnvironment() const {
22 return user_metrics_recorder_.IsUserInActiveDesktopEnvironment();
23 }
24
25 } // namespace test
26 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/user_metrics_recorder_test_api.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698