Updating XTBs based on .GRDs from branch master
[chromium-blink-merge.git] / ash / test / shelf_button_pressed_metric_tracker_test_api.h
blobc0206863ba233c1cbdefa0ee83cd7bc663051f0c
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"
14 namespace base {
15 class TickClock;
16 } // namespace base
18 namespace ash {
19 namespace test {
21 class ShelfButtonPressedMetricTrackerTestAPI {
22 public:
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);
30 private:
31 ShelfButtonPressedMetricTracker* shelf_button_pressed_metric_tracker_;
33 DISALLOW_COPY_AND_ASSIGN(ShelfButtonPressedMetricTrackerTestAPI);
36 } // namespace test
37 } // namespace ash
39 #endif // ASH_TEST_SHELF_BUTTON_PRESSED_METRIC_TRACKER_TEST_API _H_