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

Unified Diff: media/capture/video/video_capture_device_factory.cc

Issue 2805863002: Remove VideoCaptureDeviceFactory::EnumerateDeviceDescriptors() (Closed)
Patch Set: Rebase Created 3 years, 8 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/video_capture_device_factory.cc
diff --git a/media/capture/video/video_capture_device_factory.cc b/media/capture/video/video_capture_device_factory.cc
index 249fa400aed1b05e60389b6b4316a1b466c50295..b4065a6a9df3744dc4d961658cb83ba2c8164f10 100644
--- a/media/capture/video/video_capture_device_factory.cc
+++ b/media/capture/video/video_capture_device_factory.cc
@@ -50,17 +50,6 @@ VideoCaptureDeviceFactory::VideoCaptureDeviceFactory() {
VideoCaptureDeviceFactory::~VideoCaptureDeviceFactory() {}
-void VideoCaptureDeviceFactory::EnumerateDeviceDescriptors(
- const base::Callback<void(std::unique_ptr<VideoCaptureDeviceDescriptors>)>&
- callback) {
- DCHECK(thread_checker_.CalledOnValidThread());
- DCHECK(!callback.is_null());
- std::unique_ptr<VideoCaptureDeviceDescriptors> device_descriptors(
- new VideoCaptureDeviceDescriptors());
- GetDeviceDescriptors(device_descriptors.get());
- callback.Run(std::move(device_descriptors));
-}
-
#if !defined(OS_MACOSX) && !defined(OS_LINUX) && !defined(OS_ANDROID) && \
!defined(OS_WIN)
// static
« no previous file with comments | « media/capture/video/video_capture_device_factory.h ('k') | media/capture/video/video_capture_device_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698