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 CONTENT_RENDERER_MEDIA_MEDIA_STREAM_RENDERER_FACTORY_IMPL_H_
6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_RENDERER_FACTORY_IMPL_H_
8 #include "content/public/renderer/media_stream_renderer_factory.h"
12 class MediaStreamRendererFactoryImpl
: public MediaStreamRendererFactory
{
14 MediaStreamRendererFactoryImpl();
15 ~MediaStreamRendererFactoryImpl() override
;
17 scoped_refptr
<VideoFrameProvider
> GetVideoFrameProvider(
19 const base::Closure
& error_cb
,
20 const VideoFrameProvider::RepaintCB
& repaint_cb
) override
;
22 scoped_refptr
<MediaStreamAudioRenderer
> GetAudioRenderer(
24 int render_frame_id
) override
;
27 DISALLOW_COPY_AND_ASSIGN(MediaStreamRendererFactoryImpl
);
30 } // namespace content
32 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_RENDERER_FACTORY_IMPL_H_