| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_PUBLIC_RENDERER_MEDIA_STREAM_VIDEO_SINK_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_VIDEO_SINK_H_ |
| 6 #define CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_VIDEO_SINK_H_ | 6 #define CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_VIDEO_SINK_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "base/time/time.h" | 11 #include "base/time/time.h" |
| 12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 13 #include "content/public/renderer/media_stream_sink.h" | 13 #include "content/public/renderer/media_stream_sink.h" |
| 14 #include "media/base/video_capturer_source.h" | 14 #include "media/base/video_capturer_source.h" |
| 15 | 15 |
| 16 namespace media { | |
| 17 class VideoCaptureFormat; | |
| 18 class VideoFrame; | |
| 19 } | |
| 20 | |
| 21 namespace blink { | 16 namespace blink { |
| 22 class WebMediaStreamTrack; | 17 class WebMediaStreamTrack; |
| 23 } | 18 } |
| 24 | 19 |
| 25 namespace content { | 20 namespace content { |
| 26 | 21 |
| 27 typedef media::VideoCapturerSource::VideoCaptureDeliverFrameCB | 22 typedef media::VideoCapturerSource::VideoCaptureDeliverFrameCB |
| 28 VideoCaptureDeliverFrameCB; | 23 VideoCaptureDeliverFrameCB; |
| 29 | 24 |
| 30 // MediaStreamVideoSink is an interface used for receiving video frames from a | 25 // MediaStreamVideoSink is an interface used for receiving video frames from a |
| (...skipping 19 matching lines...) Expand all Loading... |
| 50 const blink::WebMediaStreamTrack& track); | 45 const blink::WebMediaStreamTrack& track); |
| 51 | 46 |
| 52 protected: | 47 protected: |
| 53 ~MediaStreamVideoSink() override {} | 48 ~MediaStreamVideoSink() override {} |
| 54 }; | 49 }; |
| 55 | 50 |
| 56 | 51 |
| 57 } // namespace content | 52 } // namespace content |
| 58 | 53 |
| 59 #endif // CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_VIDEO_SINK_H_ | 54 #endif // CONTENT_PUBLIC_RENDERER_MEDIA_STREAM_VIDEO_SINK_H_ |
| OLD | NEW |