| OLD | NEW |
| 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 #ifndef MEDIA_CAST_TEST_FAKE_TASK_RUNNER_H_ | 5 #ifndef MEDIA_CAST_TEST_FAKE_TASK_RUNNER_H_ |
| 6 #define MEDIA_CAST_TEST_FAKE_TASK_RUNNER_H_ | 6 #define MEDIA_CAST_TEST_FAKE_TASK_RUNNER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
| 11 #include "base/test/simple_test_tick_clock.h" | 12 #include "base/test/simple_test_tick_clock.h" |
| 12 #include "base/test/test_pending_task.h" | 13 #include "base/test/test_pending_task.h" |
| 13 | 14 |
| 14 namespace media { | 15 namespace media { |
| 15 namespace cast { | 16 namespace cast { |
| 16 namespace test { | 17 namespace test { |
| 17 | 18 |
| 18 typedef base::TestPendingTask PostedTask; | 19 typedef base::TestPendingTask PostedTask; |
| 19 | 20 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 47 bool fail_on_next_task_; | 48 bool fail_on_next_task_; |
| 48 | 49 |
| 49 DISALLOW_COPY_AND_ASSIGN(FakeSingleThreadTaskRunner); | 50 DISALLOW_COPY_AND_ASSIGN(FakeSingleThreadTaskRunner); |
| 50 }; | 51 }; |
| 51 | 52 |
| 52 } // namespace test | 53 } // namespace test |
| 53 } // namespace cast | 54 } // namespace cast |
| 54 } // namespace media | 55 } // namespace media |
| 55 | 56 |
| 56 #endif // MEDIA_CAST_TEST_FAKE_TASK_RUNNER_H_ | 57 #endif // MEDIA_CAST_TEST_FAKE_TASK_RUNNER_H_ |
| OLD | NEW |