ozone: evdev: Sync caps lock LED state to evdev
[chromium-blink-merge.git] / chromecast / renderer / media / cma_media_renderer_factory.h
blobb14b3d739c76dbc4d84392250af50433628e964e
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_RENDERER_MEDIA_CMA_MEDIA_RENDERER_FACTORY_H_
6 #define CHROMECAST_RENDERER_MEDIA_CMA_MEDIA_RENDERER_FACTORY_H_
8 #include "base/macros.h"
9 #include "media/base/renderer_factory.h"
11 namespace chromecast {
12 namespace media {
14 class CmaMediaRendererFactory : public ::media::RendererFactory {
15 public:
16 explicit CmaMediaRendererFactory(int render_frame_id);
17 ~CmaMediaRendererFactory() final;
19 // ::media::RendererFactory implementation.
20 scoped_ptr< ::media::Renderer> CreateRenderer(
21 const scoped_refptr<base::SingleThreadTaskRunner>& media_task_runner,
22 ::media::AudioRendererSink* audio_renderer_sink) final;
24 private:
25 int render_frame_id_;
26 DISALLOW_COPY_AND_ASSIGN(CmaMediaRendererFactory);
29 } // namespace media
30 } // namespace chromecast
32 #endif // CHROMECAST_RENDERER_MEDIA_CMA_MEDIA_RENDERER_FACTORY_H_