Index: webrtc/modules/desktop_capture/screen_capturer.h |
diff --git a/webrtc/modules/desktop_capture/screen_capturer.h b/webrtc/modules/desktop_capture/screen_capturer.h |
index a6bbde73eece2721ffeab0a69180a295798461d3..5f07ba1a53318986a6a4af20a2d5730ba05196b8 100644 |
--- a/webrtc/modules/desktop_capture/screen_capturer.h |
+++ b/webrtc/modules/desktop_capture/screen_capturer.h |
@@ -21,7 +21,6 @@ |
class DesktopCaptureOptions; |
-// TODO(zijiehe): Remove this class. |
// Class used to capture video frames asynchronously. |
// |
// The full capture sequence is as follows: |
@@ -49,25 +48,19 @@ |
}; |
typedef std::vector<Screen> ScreenList; |
- ~ScreenCapturer() override; |
+ ~ScreenCapturer() override {} |
// Creates a platform-specific capturer. |
static ScreenCapturer* Create(const DesktopCaptureOptions& options); |
- // Deprecated, use GetSourceList(). |
// Get the list of screens (not containing kFullDesktopScreenId). Returns |
// false in case of a failure. |
- virtual bool GetScreenList(ScreenList* screens); |
+ virtual bool GetScreenList(ScreenList* screens) = 0; |
- // Deprecated, use SelectSource(). |
// Select the screen to be captured. Returns false in case of a failure (e.g. |
// if there is no screen with the specified id). If this is never called, the |
// full desktop is captured. |
- virtual bool SelectScreen(ScreenId id); |
- |
- // DesktopCapturer interfaces. |
- bool GetSourceList(SourceList* sources) override; |
- bool SelectSource(SourceId id) override; |
+ virtual bool SelectScreen(ScreenId id) = 0; |
}; |
} // namespace webrtc |