ozone: evdev: Sync caps lock LED state to evdev
[chromium-blink-merge.git] / chromecast / media / cma / backend / media_pipeline_device.h
blob8a961dc7fda7c3e6faf1cdb3af87f4655cd9de41
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_H_
6 #define CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_H_
8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
11 namespace chromecast {
12 namespace media {
13 class AudioPipelineDevice;
14 class MediaClockDevice;
15 class MediaPipelineDeviceParams;
16 class VideoPipelineDevice;
18 // MediaPipelineDevice is the owner of the underlying audio/video/clock
19 // devices.
20 class MediaPipelineDevice {
21 public:
22 MediaPipelineDevice();
23 virtual ~MediaPipelineDevice();
25 virtual AudioPipelineDevice* GetAudioPipelineDevice() const = 0;
27 virtual VideoPipelineDevice* GetVideoPipelineDevice() const = 0;
29 virtual MediaClockDevice* GetMediaClockDevice() const = 0;
31 private:
32 DISALLOW_COPY_AND_ASSIGN(MediaPipelineDevice);
35 // Factory to create a MediaPipelineDevice.
36 scoped_ptr<MediaPipelineDevice> CreateMediaPipelineDevice(
37 const MediaPipelineDeviceParams& params);
39 } // namespace media
40 } // namespace chromecast
42 #endif // CHROMECAST_MEDIA_CMA_BACKEND_MEDIA_PIPELINE_DEVICE_H_