Add google_apis_unittests, midi_unittests to GN swarming.
[chromium-blink-merge.git] / ash / test / shelf_button_pressed_metric_tracker_test_api.cc
blob895a4e38f7ba40254a21ae61888f692fc5a1ffa3
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/shelf_button_pressed_metric_tracker_test_api.h"
7 #include "base/time/tick_clock.h"
9 namespace ash {
10 namespace test {
12 ShelfButtonPressedMetricTrackerTestAPI::ShelfButtonPressedMetricTrackerTestAPI(
13 ShelfButtonPressedMetricTracker* shelf_button_pressed_metric_tracker)
14 : shelf_button_pressed_metric_tracker_(
15 shelf_button_pressed_metric_tracker) {
18 ShelfButtonPressedMetricTrackerTestAPI::
19 ~ShelfButtonPressedMetricTrackerTestAPI() {
22 void ShelfButtonPressedMetricTrackerTestAPI::SetTickClock(
23 scoped_ptr<base::TickClock> tick_clock) {
24 shelf_button_pressed_metric_tracker_->tick_clock_.reset(tick_clock.release());
27 } // namespace test
28 } // namespace ash