Index: webrtc/test/video_capturer.h |
diff --git a/webrtc/test/video_capturer.h b/webrtc/test/video_capturer.h |
index 667d89c89c55804db90014b27506be3ab9361f7e..111f986643d37956c847bc1406628d4b1e4b6858 100644 |
--- a/webrtc/test/video_capturer.h |
+++ b/webrtc/test/video_capturer.h |
@@ -12,42 +12,23 @@ |
#include <stddef.h> |
-#include <memory> |
- |
-#include "webrtc/api/video/i420_buffer.h" |
#include "webrtc/api/video/video_frame.h" |
-#include "webrtc/base/criticalsection.h" |
-#include "webrtc/base/optional.h" |
-#include "webrtc/media/base/videoadapter.h" |
#include "webrtc/media/base/videosourceinterface.h" |
-namespace cricket { |
-class VideoAdapter; |
-} // namespace cricket |
+namespace webrtc { |
-namespace webrtc { |
class Clock; |
+ |
namespace test { |
class VideoCapturer : public rtc::VideoSourceInterface<VideoFrame> { |
public: |
- VideoCapturer(); |
- virtual ~VideoCapturer(); |
+ virtual ~VideoCapturer() {} |
virtual void Start() = 0; |
virtual void Stop() = 0; |
- |
- void AddOrUpdateSink(rtc::VideoSinkInterface<VideoFrame>* sink, |
- const rtc::VideoSinkWants& wants) override; |
- |
- protected: |
- rtc::Optional<VideoFrame> AdaptFrame(const VideoFrame& frame); |
- rtc::VideoSinkWants GetSinkWants(); |
- |
- private: |
- const std::unique_ptr<cricket::VideoAdapter> video_adapter_; |
}; |
-} // namespace test |
-} // namespace webrtc |
+} // test |
+} // webrtc |
#endif // WEBRTC_TEST_VIDEO_CAPTURER_H_ |