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

Side by Side Diff: chromecast/renderer/media/demuxer_stream_for_test.h

Issue 1372393007: [Chromecast] Upgrade to new CMA backend API (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Address alokp@ comments Created 5 years, 2 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 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_TEST_DUMMY_DEMUXER_STREAM_H_ 5 #ifndef CHROMECAST_RENDERER_MEDIA_DEMUXER_STREAM_FOR_TEST_H_
6 #define CHROMECAST_MEDIA_CMA_TEST_DUMMY_DEMUXER_STREAM_H_ 6 #define CHROMECAST_RENDERER_MEDIA_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/thread_task_runner_handle.h" 11 #include "base/thread_task_runner_handle.h"
12 #include "chromecast/media/cma/filters/demuxer_stream_adapter.h" 12 #include "chromecast/renderer/media/demuxer_stream_adapter.h"
13 #include "media/base/decoder_buffer.h" 13 #include "media/base/decoder_buffer.h"
14 #include "media/base/demuxer_stream.h" 14 #include "media/base/demuxer_stream.h"
15 15
16 namespace chromecast { 16 namespace chromecast {
17 namespace media { 17 namespace media {
18 18
19 class DemuxerStreamForTest : public ::media::DemuxerStream { 19 class DemuxerStreamForTest : public ::media::DemuxerStream {
20 public: 20 public:
21 // Creates a demuxer stream which provides frames either with a delay 21 // Creates a demuxer stream which provides frames either with a delay
22 // or instantly. 22 // or instantly.
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // Number of frames sent so far. 64 // Number of frames sent so far.
65 int frame_count_; 65 int frame_count_;
66 66
67 bool has_pending_read_; 67 bool has_pending_read_;
68 68
69 DISALLOW_COPY_AND_ASSIGN(DemuxerStreamForTest); 69 DISALLOW_COPY_AND_ASSIGN(DemuxerStreamForTest);
70 }; 70 };
71 71
72 } // namespace media 72 } // namespace media
73 } // namespace chromecast 73 } // namespace chromecast
74 #endif 74
75 #endif // CHROMECAST_RENDERER_MEDIA_DEMUXER_STREAM_FOR_TEST_H_
OLDNEW
« no previous file with comments | « chromecast/renderer/media/demuxer_stream_adapter_unittest.cc ('k') | chromecast/renderer/media/demuxer_stream_for_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698