Index: content/browser/renderer_host/media/media_stream_manager.h |
diff --git a/content/browser/renderer_host/media/media_stream_manager.h b/content/browser/renderer_host/media/media_stream_manager.h |
index 8747539857459c586e05796386bea7f8223dc1c1..6b4c3c45f41302f5561ccf9e814a408544d15371 100644 |
--- a/content/browser/renderer_host/media/media_stream_manager.h |
+++ b/content/browser/renderer_host/media/media_stream_manager.h |
@@ -382,6 +382,13 @@ class CONTENT_EXPORT MediaStreamManager |
const std::string& label, |
const MediaDeviceEnumeration& enumeration); |
+ // Creates MediaStreamDevices for |devices_infos| of |stream_type|. For video |
+ // capture device it also uses cached content from |video_capture_manager_| to |
+ // set the MediaStreamDevice fields. |
+ MediaStreamDevices ConvertToMediaStreamDevices( |
+ MediaStreamType stream_type, |
+ const MediaDeviceInfoArray& device_infos); |
+ |
// Task runner shared by VideoCaptureManager and AudioInputDeviceManager and |
// used for enumerating audio output devices. |
// Note: Enumeration tasks may take seconds to complete so must never be run |