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

Side by Side Diff: chromecast/media/cma/base/balanced_media_task_runner_unittest.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <stddef.h> 5 #include <stddef.h>
6 6
7 #include <list> 7 #include <list>
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/message_loop/message_loop.h"
15 #include "base/run_loop.h" 16 #include "base/run_loop.h"
16 #include "base/single_thread_task_runner.h" 17 #include "base/single_thread_task_runner.h"
17 #include "base/threading/thread.h" 18 #include "base/threading/thread.h"
18 #include "base/threading/thread_task_runner_handle.h" 19 #include "base/threading/thread_task_runner_handle.h"
19 #include "base/time/time.h" 20 #include "base/time/time.h"
20 #include "chromecast/media/cma/base/balanced_media_task_runner_factory.h" 21 #include "chromecast/media/cma/base/balanced_media_task_runner_factory.h"
21 #include "chromecast/media/cma/base/media_task_runner.h" 22 #include "chromecast/media/cma/base/media_task_runner.h"
22 #include "testing/gtest/include/gtest/gtest.h" 23 #include "testing/gtest/include/gtest/gtest.h"
23 24
24 namespace chromecast { 25 namespace chromecast {
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 289
289 SetupTest(base::TimeDelta::FromMilliseconds(30), timestamps, 290 SetupTest(base::TimeDelta::FromMilliseconds(30), timestamps,
290 scheduling_pattern, expected_timestamps); 291 scheduling_pattern, expected_timestamps);
291 ProcessAllTasks(); 292 ProcessAllTasks();
292 base::RunLoop().Run(); 293 base::RunLoop().Run();
293 EXPECT_TRUE(expected_task_timestamps_.empty()); 294 EXPECT_TRUE(expected_task_timestamps_.empty());
294 } 295 }
295 296
296 } // namespace media 297 } // namespace media
297 } // namespace chromecast 298 } // namespace chromecast
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698