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 #ifndef ASH_TEST_SHELF_BUTTON_PRESSED_METRIC_TRACKER_TEST_API_H_
6 #define ASH_TEST_SHELF_BUTTON_PRESSED_METRIC_TRACKER_TEST_API_H_
8 #include "ash/shelf/shelf_button_pressed_metric_tracker.h"
10 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "ui/events/event.h"
21 class ShelfButtonPressedMetricTrackerTestAPI
{
23 explicit ShelfButtonPressedMetricTrackerTestAPI(
24 ShelfButtonPressedMetricTracker
* shelf_button_pressed_metric_tracker
);
25 ~ShelfButtonPressedMetricTrackerTestAPI();
27 // Set's the |tick_clock_| on the internal ShelfButtonPressedMetricTracker.
28 void SetTickClock(scoped_ptr
<base::TickClock
> tick_clock
);
31 ShelfButtonPressedMetricTracker
* shelf_button_pressed_metric_tracker_
;
33 DISALLOW_COPY_AND_ASSIGN(ShelfButtonPressedMetricTrackerTestAPI
);
39 #endif // ASH_TEST_SHELF_BUTTON_PRESSED_METRIC_TRACKER_TEST_API _H_