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

Side by Side Diff: chromecast/media/cma/test/media_component_device_feeder_for_test.h

Issue 1257013003: Load CMA backend from shared library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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 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 CHROMECAST_MEDIA_CMA_TEST_MEDIA_COMPONENT_DEVICE_FEEDER_FOR_TEST_H_ 5 #ifndef CHROMECAST_MEDIA_CMA_TEST_MEDIA_COMPONENT_DEVICE_FEEDER_FOR_TEST_H_
6 #define CHROMECAST_MEDIA_CMA_TEST_MEDIA_COMPONENT_DEVICE_FEEDER_FOR_TEST_H_ 6 #define CHROMECAST_MEDIA_CMA_TEST_MEDIA_COMPONENT_DEVICE_FEEDER_FOR_TEST_H_
7 7
8 #include <list> 8 #include <list>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/callback.h"
12 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
14 #include "base/time/time.h" 15 #include "base/time/time.h"
15 #include "chromecast/media/cma/backend/audio_pipeline_device.h" 16 #include "chromecast/public/media/audio_pipeline_device.h"
16 #include "chromecast/media/cma/backend/media_clock_device.h" 17 #include "chromecast/public/media/cast_decoder_buffer.h"
17 #include "chromecast/media/cma/backend/media_pipeline_device.h" 18 #include "chromecast/public/media/media_clock_device.h"
18 #include "chromecast/media/cma/backend/video_pipeline_device.h" 19 #include "chromecast/public/media/video_pipeline_device.h"
19 #include "chromecast/media/cma/base/decoder_buffer_base.h"
20 20
21 namespace chromecast { 21 namespace chromecast {
22 namespace media { 22 namespace media {
23 class DecoderBufferBase;
23 24
24 typedef std::list<scoped_refptr<DecoderBufferBase> > BufferList; 25 typedef std::list<scoped_refptr<DecoderBufferBase> > BufferList;
25 26
26 class MediaComponentDeviceFeederForTest { 27 class MediaComponentDeviceFeederForTest {
27 public: 28 public:
28 MediaComponentDeviceFeederForTest( 29 MediaComponentDeviceFeederForTest(
29 MediaComponentDevice *device, 30 MediaComponentDevice *device,
30 const BufferList& frames); 31 const BufferList& frames);
31 32
32 virtual ~MediaComponentDeviceFeederForTest(); 33 virtual ~MediaComponentDeviceFeederForTest();
(...skipping 25 matching lines...) Expand all
58 59
59 bool feeding_completed_; 60 bool feeding_completed_;
60 61
61 DISALLOW_COPY_AND_ASSIGN(MediaComponentDeviceFeederForTest); 62 DISALLOW_COPY_AND_ASSIGN(MediaComponentDeviceFeederForTest);
62 }; 63 };
63 64
64 } // namespace media 65 } // namespace media
65 } // namespace chromecast 66 } // namespace chromecast
66 67
67 #endif // CHROMECAST_MEDIA_CMA_TEST_MEDIA_COMPONENT_DEVICE_FEEDER_FOR_TEST_H_ 68 #endif // CHROMECAST_MEDIA_CMA_TEST_MEDIA_COMPONENT_DEVICE_FEEDER_FOR_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698