| 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 #include <stddef.h> | 5 #include <stddef.h> |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <utility> | 10 #include <utility> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/bind.h" | 13 #include "base/bind.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/thread_task_runner_handle.h" | |
| 17 #include "base/threading/thread.h" | 16 #include "base/threading/thread.h" |
| 17 #include "base/threading/thread_task_runner_handle.h" |
| 18 #include "base/time/time.h" | 18 #include "base/time/time.h" |
| 19 #include "chromecast/media/cma/ipc/media_memory_chunk.h" | 19 #include "chromecast/media/cma/ipc/media_memory_chunk.h" |
| 20 #include "chromecast/media/cma/ipc/media_message_fifo.h" | 20 #include "chromecast/media/cma/ipc/media_message_fifo.h" |
| 21 #include "chromecast/media/cma/ipc_streamer/av_streamer_proxy.h" | 21 #include "chromecast/media/cma/ipc_streamer/av_streamer_proxy.h" |
| 22 #include "chromecast/media/cma/ipc_streamer/coded_frame_provider_host.h" | 22 #include "chromecast/media/cma/ipc_streamer/coded_frame_provider_host.h" |
| 23 #include "chromecast/media/cma/test/frame_generator_for_test.h" | 23 #include "chromecast/media/cma/test/frame_generator_for_test.h" |
| 24 #include "chromecast/media/cma/test/mock_frame_consumer.h" | 24 #include "chromecast/media/cma/test/mock_frame_consumer.h" |
| 25 #include "chromecast/media/cma/test/mock_frame_provider.h" | 25 #include "chromecast/media/cma/test/mock_frame_provider.h" |
| 26 #include "chromecast/public/media/cast_decoder_buffer.h" | 26 #include "chromecast/public/media/cast_decoder_buffer.h" |
| 27 #include "media/base/audio_decoder_config.h" | 27 #include "media/base/audio_decoder_config.h" |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 message_loop->PostDelayedTask( | 313 message_loop->PostDelayedTask( |
| 314 FROM_HERE, | 314 FROM_HERE, |
| 315 base::Bind(&AvStreamerTest::FlushThenStop, base::Unretained(this)), | 315 base::Bind(&AvStreamerTest::FlushThenStop, base::Unretained(this)), |
| 316 base::TimeDelta::FromMilliseconds(10)); | 316 base::TimeDelta::FromMilliseconds(10)); |
| 317 | 317 |
| 318 message_loop->Run(); | 318 message_loop->Run(); |
| 319 } | 319 } |
| 320 | 320 |
| 321 } // namespace media | 321 } // namespace media |
| 322 } // namespace chromecast | 322 } // namespace chromecast |
| OLD | NEW |