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

Side by Side Diff: services/ui/ws/user_activity_monitor_unittest.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "services/ui/ws/user_activity_monitor.h" 5 #include "services/ui/ws/user_activity_monitor.h"
6 6
7 #include "base/memory/ptr_util.h"
7 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
8 #include "base/run_loop.h" 9 #include "base/run_loop.h"
9 #include "base/test/simple_test_tick_clock.h" 10 #include "base/test/simple_test_tick_clock.h"
10 #include "base/test/test_mock_time_task_runner.h" 11 #include "base/test/test_mock_time_task_runner.h"
11 #include "mojo/public/cpp/bindings/interface_request.h" 12 #include "mojo/public/cpp/bindings/interface_request.h"
12 #include "services/ui/common/task_runner_test_base.h" 13 #include "services/ui/common/task_runner_test_base.h"
13 #include "services/ui/ws/test_utils.h" 14 #include "services/ui/ws/test_utils.h"
14 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
15 16
16 using ui::mojom::UserIdleObserver; 17 using ui::mojom::UserIdleObserver;
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 RunUntilIdle(); 203 RunUntilIdle();
203 EXPECT_FALSE(first_observer.GetAndResetIdleState(&idle_state)); 204 EXPECT_FALSE(first_observer.GetAndResetIdleState(&idle_state));
204 EXPECT_FALSE(second_observer.GetAndResetIdleState(&idle_state)); 205 EXPECT_FALSE(second_observer.GetAndResetIdleState(&idle_state));
205 EXPECT_FALSE(third_observer.GetAndResetIdleState(&idle_state)); 206 EXPECT_FALSE(third_observer.GetAndResetIdleState(&idle_state));
206 EXPECT_FALSE(fourth_observer.GetAndResetIdleState(&idle_state)); 207 EXPECT_FALSE(fourth_observer.GetAndResetIdleState(&idle_state));
207 } 208 }
208 209
209 } // namespace test 210 } // namespace test
210 } // namespace ws 211 } // namespace ws
211 } // namespace ui 212 } // namespace ui
OLDNEW
« no previous file with comments | « services/ui/ws/user_activity_monitor.cc ('k') | services/ui/ws/window_manager_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698