Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Unified Diff: webrtc/api/videosourceinterface.h

Issue 1770003002: Renamed VideoSourceInterface to VideoTrackSourceInterface. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/api/videosourceinterface.h
diff --git a/webrtc/api/videosourceinterface.h b/webrtc/api/videosourceinterface.h
index d55f0aaa5257d07e492e2a032091cd73114c45b8..10ded414115ff759852c69d0ec579bee88799a14 100644
--- a/webrtc/api/videosourceinterface.h
+++ b/webrtc/api/videosourceinterface.h
@@ -12,37 +12,7 @@
#define WEBRTC_API_VIDEOSOURCEINTERFACE_H_
#include "webrtc/api/mediastreaminterface.h"
-#include "webrtc/media/base/mediachannel.h"
-#include "webrtc/media/base/videosourceinterface.h"
-namespace webrtc {
-
-// VideoSourceInterface is a reference counted source used for VideoTracks.
-// The same source can be used in multiple VideoTracks.
-// The methods are only supposed to be called by the PeerConnection
-// implementation.
-class VideoSourceInterface :
- public MediaSourceInterface,
- public rtc::VideoSourceInterface<cricket::VideoFrame> {
- public:
- // Get access to the source implementation of cricket::VideoCapturer.
- // This can be used for receiving frames and state notifications.
- // But it should not be used for starting or stopping capturing.
- virtual cricket::VideoCapturer* GetVideoCapturer() = 0;
-
- virtual void Stop() = 0;
- virtual void Restart() = 0;
-
- virtual const cricket::VideoOptions* options() const = 0;
-
- protected:
- virtual ~VideoSourceInterface() {}
-};
-
-// TODO(perkj): Rename webrtc::VideoSourceInterface to
-// webrtc::VideoTrackSourceInterface
-using VideoTrackSourceInterface = VideoSourceInterface;
-
-} // namespace webrtc
+// TODO(perkj): Remove this file once Chrome build files doesn't depend on it.
#endif // WEBRTC_API_VIDEOSOURCEINTERFACE_H_

Powered by Google App Engine
This is Rietveld 408576698