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"
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());