OLD | NEW |
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 #ifndef CHROMECAST_MEDIA_CMA_BASE_DEMUXER_STREAM_FOR_TEST_H_ | 5 #ifndef CHROMECAST_MEDIA_CMA_BASE_DEMUXER_STREAM_FOR_TEST_H_ |
6 #define CHROMECAST_MEDIA_CMA_BASE_DEMUXER_STREAM_FOR_TEST_H_ | 6 #define CHROMECAST_MEDIA_CMA_BASE_DEMUXER_STREAM_FOR_TEST_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
13 #include "chromecast/media/cma/base/demuxer_stream_adapter.h" | 13 #include "chromecast/media/cma/base/demuxer_stream_adapter.h" |
14 #include "media/base/decoder_buffer.h" | 14 #include "media/base/decoder_buffer.h" |
15 #include "media/base/demuxer_stream.h" | 15 #include "media/base/demuxer_stream.h" |
16 | 16 |
17 namespace chromecast { | 17 namespace chromecast { |
18 namespace media { | 18 namespace media { |
19 | 19 |
20 class DemuxerStreamForTest : public ::media::DemuxerStream { | 20 class DemuxerStreamForTest : public ::media::DemuxerStream { |
21 public: | 21 public: |
22 // Creates a demuxer stream which provides frames either with a delay | 22 // Creates a demuxer stream which provides frames either with a delay |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 67 |
68 bool has_pending_read_; | 68 bool has_pending_read_; |
69 | 69 |
70 DISALLOW_COPY_AND_ASSIGN(DemuxerStreamForTest); | 70 DISALLOW_COPY_AND_ASSIGN(DemuxerStreamForTest); |
71 }; | 71 }; |
72 | 72 |
73 } // namespace media | 73 } // namespace media |
74 } // namespace chromecast | 74 } // namespace chromecast |
75 | 75 |
76 #endif // CHROMECAST_MEDIA_CMA_BASE_DEMUXER_STREAM_FOR_TEST_H_ | 76 #endif // CHROMECAST_MEDIA_CMA_BASE_DEMUXER_STREAM_FOR_TEST_H_ |
OLD | NEW |