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

Side by Side Diff: ash/shelf/shelf_button_pressed_metric_tracker_unittest.cc

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 9 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/shelf/shelf_button_pressed_metric_tracker.cc ('k') | ash/shelf/shelf_constants.h » ('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/common/shelf/shelf_button_pressed_metric_tracker.h" 5 #include "ash/shelf/shelf_button_pressed_metric_tracker.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "ash/common/shelf/wm_shelf.h" 9 #include "ash/shelf/wm_shelf.h"
10 #include "ash/common/wm_shell.h"
11 #include "ash/test/ash_test_base.h" 10 #include "ash/test/ash_test_base.h"
12 #include "ash/test/shelf_button_pressed_metric_tracker_test_api.h" 11 #include "ash/test/shelf_button_pressed_metric_tracker_test_api.h"
13 #include "ash/test/shelf_view_test_api.h" 12 #include "ash/test/shelf_view_test_api.h"
13 #include "ash/wm_shell.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/test/histogram_tester.h" 15 #include "base/test/histogram_tester.h"
16 #include "base/test/simple_test_tick_clock.h" 16 #include "base/test/simple_test_tick_clock.h"
17 #include "base/test/user_action_tester.h" 17 #include "base/test/user_action_tester.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 #include "ui/events/event.h" 19 #include "ui/events/event.h"
20 #include "ui/views/controls/button/button.h" 20 #include "ui/views/controls/button/button.h"
21 21
22 namespace ash { 22 namespace ash {
23 namespace test { 23 namespace test {
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 305
306 histogram_tester.ExpectTotalCount( 306 histogram_tester.ExpectTotalCount(
307 kTimeBetweenWindowMinimizedAndActivatedActionsHistogramName, 1); 307 kTimeBetweenWindowMinimizedAndActivatedActionsHistogramName, 1);
308 histogram_tester.ExpectBucketCount( 308 histogram_tester.ExpectBucketCount(
309 kTimeBetweenWindowMinimizedAndActivatedActionsHistogramName, 309 kTimeBetweenWindowMinimizedAndActivatedActionsHistogramName,
310 kTimeDeltaInMilliseconds, 1); 310 kTimeDeltaInMilliseconds, 1);
311 } 311 }
312 312
313 } // namespace test 313 } // namespace test
314 } // namespace ash 314 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shelf/shelf_button_pressed_metric_tracker.cc ('k') | ash/shelf/shelf_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698