ozone: evdev: Sync caps lock LED state to evdev
[chromium-blink-merge.git] / chromecast / media / cma / backend / media_pipeline_device_fake.h
blob248c9a4322eea4b736d3c2c660ff847833457182
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
3 // found in the LICENSE file.
5 #ifndef CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_FAKE_H_
6 #define CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_FAKE_H_
8 #include "chromecast/media/cma/backend/media_pipeline_device.h"
10 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h"
13 namespace chromecast {
14 namespace media {
15 class AudioPipelineDeviceFake;
16 class MediaClockDeviceFake;
17 class VideoPipelineDeviceFake;
19 class MediaPipelineDeviceFake : public MediaPipelineDevice {
20 public:
21 MediaPipelineDeviceFake();
22 ~MediaPipelineDeviceFake() override;
24 // MediaPipelineDevice implementation.
25 AudioPipelineDevice* GetAudioPipelineDevice() const override;
26 VideoPipelineDevice* GetVideoPipelineDevice() const override;
27 MediaClockDevice* GetMediaClockDevice() const override;
29 private:
30 scoped_ptr<MediaClockDeviceFake> media_clock_device_;
31 scoped_ptr<AudioPipelineDeviceFake> audio_pipeline_device_;
32 scoped_ptr<VideoPipelineDeviceFake> video_pipeline_device_;
34 DISALLOW_COPY_AND_ASSIGN(MediaPipelineDeviceFake);
37 } // namespace media
38 } // namespace chromecast
40 #endif // CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_H_