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

Unified Diff: media/capture/video_capturer_source.h

Issue 2964923002: Remove unused VideoCapturerSource::GetCurrentSupportedFormats(). (Closed)
Patch Set: rebase Created 3 years, 5 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: media/capture/video_capturer_source.h
diff --git a/media/capture/video_capturer_source.h b/media/capture/video_capturer_source.h
index 2cb9c02c963eb575e9719a15ac86f1a2510cacee..c4cc85460c6be75b0fdc9e3c993902d5259f7ff9 100644
--- a/media/capture/video_capturer_source.h
+++ b/media/capture/video_capturer_source.h
@@ -50,18 +50,6 @@ class CAPTURE_EXPORT VideoCapturerSource {
using RunningCallback = base::Callback<void(bool)>;
- // Collects the formats that can currently be used.
- // |max_requested_height|, |max_requested_width|, and
- // |max_requested_frame_rate| is used by Tab and Screen capture to decide what
- // resolution/framerate to generate. |callback| is triggered when the formats
- // have been collected.
- // TODO(guidou): Remove this method. http://crbug.com/706408
- virtual void GetCurrentSupportedFormats(
- int max_requested_width,
- int max_requested_height,
- double max_requested_frame_rate,
- const VideoCaptureDeviceFormatsCB& callback);
-
// Returns formats that are preferred and can currently be used. May be empty
// if no formats are available or known.
virtual VideoCaptureFormats GetPreferredFormats() = 0;

Powered by Google App Engine
This is Rietveld 408576698