| OLD | NEW |
| 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 CONTENT_RENDERER_MEDIA_MEDIA_STREAM_RENDERER_FACTORY_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_MEDIA_STREAM_RENDERER_FACTORY_IMPL_H_ |
| 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_RENDERER_FACTORY_IMPL_H_ | 6 #define CONTENT_RENDERER_MEDIA_MEDIA_STREAM_RENDERER_FACTORY_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "content/public/renderer/media_stream_renderer_factory.h" | 9 #include "content/public/renderer/media_stream_renderer_factory.h" |
| 9 | 10 |
| 10 namespace content { | 11 namespace content { |
| 11 | 12 |
| 12 class MediaStreamRendererFactoryImpl : public MediaStreamRendererFactory { | 13 class MediaStreamRendererFactoryImpl : public MediaStreamRendererFactory { |
| 13 public: | 14 public: |
| 14 MediaStreamRendererFactoryImpl(); | 15 MediaStreamRendererFactoryImpl(); |
| 15 ~MediaStreamRendererFactoryImpl() override; | 16 ~MediaStreamRendererFactoryImpl() override; |
| 16 | 17 |
| 17 scoped_refptr<VideoFrameProvider> GetVideoFrameProvider( | 18 scoped_refptr<VideoFrameProvider> GetVideoFrameProvider( |
| (...skipping 10 matching lines...) Expand all Loading... |
| 28 const std::string& device_id, | 29 const std::string& device_id, |
| 29 const url::Origin& security_origin) override; | 30 const url::Origin& security_origin) override; |
| 30 | 31 |
| 31 private: | 32 private: |
| 32 DISALLOW_COPY_AND_ASSIGN(MediaStreamRendererFactoryImpl); | 33 DISALLOW_COPY_AND_ASSIGN(MediaStreamRendererFactoryImpl); |
| 33 }; | 34 }; |
| 34 | 35 |
| 35 } // namespace content | 36 } // namespace content |
| 36 | 37 |
| 37 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_RENDERER_FACTORY_IMPL_H_ | 38 #endif // CONTENT_RENDERER_MEDIA_MEDIA_STREAM_RENDERER_FACTORY_IMPL_H_ |
| OLD | NEW |