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

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

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/ui_controls_factory_ash.cc ('k') | ash/tooltips/tooltip_controller_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/test/user_metrics_recorder_test_api.h" 5 #include "ash/test/user_metrics_recorder_test_api.h"
6 6
7 namespace ash { 7 namespace ash {
8 namespace test { 8 namespace test {
9 9
10 UserMetricsRecorderTestAPI::UserMetricsRecorderTestAPI() 10 UserMetricsRecorderTestAPI::UserMetricsRecorderTestAPI()
11 : user_metrics_recorder_(false) { 11 : user_metrics_recorder_(false) {}
12 }
13 12
14 UserMetricsRecorderTestAPI::~UserMetricsRecorderTestAPI() { 13 UserMetricsRecorderTestAPI::~UserMetricsRecorderTestAPI() {}
15 }
16 14
17 void UserMetricsRecorderTestAPI::RecordPeriodicMetrics() { 15 void UserMetricsRecorderTestAPI::RecordPeriodicMetrics() {
18 user_metrics_recorder_.RecordPeriodicMetrics(); 16 user_metrics_recorder_.RecordPeriodicMetrics();
19 } 17 }
20 18
21 bool UserMetricsRecorderTestAPI::IsUserInActiveDesktopEnvironment() const { 19 bool UserMetricsRecorderTestAPI::IsUserInActiveDesktopEnvironment() const {
22 return user_metrics_recorder_.IsUserInActiveDesktopEnvironment(); 20 return user_metrics_recorder_.IsUserInActiveDesktopEnvironment();
23 } 21 }
24 22
25 } // namespace test 23 } // namespace test
26 } // namespace ash 24 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/ui_controls_factory_ash.cc ('k') | ash/tooltips/tooltip_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698