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

Unified Diff: content/browser/renderer_host/media/media_stream_manager.h

Issue 2606983002: Media Capture Depth Stream Extensions API: focal length and depth range. (Closed)
Patch Set: 80-char line fix in test html. Created 3 years, 10 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: 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

Powered by Google App Engine
This is Rietveld 408576698