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

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

Issue 2350693002: Remove device enumeration, caching and monitoring from MediaStreamManager. (Closed)
Patch Set: latest hta@ comments Created 4 years, 3 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_provider.h
diff --git a/content/browser/renderer_host/media/media_stream_provider.h b/content/browser/renderer_host/media/media_stream_provider.h
index 551e36d8b45890e8b51211b776081914d4e09b25..d2ee9255ca99c350916e71ff753eb5b3ad2b4bc5 100644
--- a/content/browser/renderer_host/media/media_stream_provider.h
+++ b/content/browser/renderer_host/media/media_stream_provider.h
@@ -46,10 +46,6 @@ class CONTENT_EXPORT MediaStreamProviderListener {
// Called by a MediaStreamProvider when a stream has been closed.
virtual void Closed(MediaStreamType stream_type, int capture_session_id) = 0;
- // Called by a MediaStreamProvider when available devices has been enumerated.
- virtual void DevicesEnumerated(MediaStreamType stream_type,
- const StreamDeviceInfoArray& devices) = 0;
-
// Called by a MediaStreamProvider when the device has been aborted due to
// device error.
virtual void Aborted(MediaStreamType stream_type, int capture_session_id) = 0;
@@ -67,9 +63,6 @@ class CONTENT_EXPORT MediaStreamProvider
const scoped_refptr<base::SingleThreadTaskRunner>&
device_task_runner) = 0;
- // Enumerates existing capture devices and calls |DevicesEnumerated|.
- virtual void EnumerateDevices(MediaStreamType stream_type) = 0;
-
// Opens the specified device. The device is not started and it is still
// possible for other applications to open the device before the device is
// started. |Opened| is called when the device is opened.

Powered by Google App Engine
This is Rietveld 408576698