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

Side by Side Diff: ash/test/shelf_button_pressed_metric_tracker_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/overflow_bubble_view_test_api.cc ('k') | ash/test/shelf_view_test_api.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/shelf_button_pressed_metric_tracker_test_api.h" 5 #include "ash/test/shelf_button_pressed_metric_tracker_test_api.h"
6 6
7 #include "base/time/tick_clock.h" 7 #include "base/time/tick_clock.h"
8 8
9 namespace ash { 9 namespace ash {
10 namespace test { 10 namespace test {
11 11
12 ShelfButtonPressedMetricTrackerTestAPI::ShelfButtonPressedMetricTrackerTestAPI( 12 ShelfButtonPressedMetricTrackerTestAPI::ShelfButtonPressedMetricTrackerTestAPI(
13 ShelfButtonPressedMetricTracker* shelf_button_pressed_metric_tracker) 13 ShelfButtonPressedMetricTracker* shelf_button_pressed_metric_tracker)
14 : shelf_button_pressed_metric_tracker_( 14 : shelf_button_pressed_metric_tracker_(
15 shelf_button_pressed_metric_tracker) { 15 shelf_button_pressed_metric_tracker) {}
16 }
17 16
18 ShelfButtonPressedMetricTrackerTestAPI:: 17 ShelfButtonPressedMetricTrackerTestAPI::
19 ~ShelfButtonPressedMetricTrackerTestAPI() { 18 ~ShelfButtonPressedMetricTrackerTestAPI() {}
20 }
21 19
22 void ShelfButtonPressedMetricTrackerTestAPI::SetTickClock( 20 void ShelfButtonPressedMetricTrackerTestAPI::SetTickClock(
23 std::unique_ptr<base::TickClock> tick_clock) { 21 std::unique_ptr<base::TickClock> tick_clock) {
24 shelf_button_pressed_metric_tracker_->tick_clock_.reset(tick_clock.release()); 22 shelf_button_pressed_metric_tracker_->tick_clock_.reset(tick_clock.release());
25 } 23 }
26 24
27 } // namespace test 25 } // namespace test
28 } // namespace ash 26 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/overflow_bubble_view_test_api.cc ('k') | ash/test/shelf_view_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698