| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BASE_FAKE_TEXT_TRACK_STREAM_H_ |
| 6 #define MEDIA_BASE_FAKE_TEXT_TRACK_STREAM_H_ |
| 7 |
| 5 #include "base/macros.h" | 8 #include "base/macros.h" |
| 6 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 7 #include "media/base/audio_decoder_config.h" | 10 #include "media/base/audio_decoder_config.h" |
| 8 #include "media/base/demuxer_stream.h" | 11 #include "media/base/demuxer_stream.h" |
| 9 #include "media/base/video_decoder_config.h" | 12 #include "media/base/video_decoder_config.h" |
| 10 #include "testing/gmock/include/gmock/gmock.h" | 13 #include "testing/gmock/include/gmock/gmock.h" |
| 11 | 14 |
| 12 namespace media { | 15 namespace media { |
| 13 | 16 |
| 14 // Fake implementation of the DemuxerStream. These are the stream objects | 17 // Fake implementation of the DemuxerStream. These are the stream objects |
| (...skipping 26 matching lines...) Expand all Loading... |
| 41 | 44 |
| 42 private: | 45 private: |
| 43 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; | 46 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; |
| 44 ReadCB read_cb_; | 47 ReadCB read_cb_; |
| 45 bool stopping_; | 48 bool stopping_; |
| 46 | 49 |
| 47 DISALLOW_COPY_AND_ASSIGN(FakeTextTrackStream); | 50 DISALLOW_COPY_AND_ASSIGN(FakeTextTrackStream); |
| 48 }; | 51 }; |
| 49 | 52 |
| 50 } // namespace media | 53 } // namespace media |
| 54 |
| 55 #endif // MEDIA_BASE_FAKE_TEXT_TRACK_STREAM_H_ |
| OLD | NEW |