|
Remove device enumeration, caching and monitoring from MediaStreamManager.
This CL introduces MediaDevicesManager, which is now responsible for low-level
device enumerations, including using device monitoring to maintain updated
caches.
This CL also removes the enumeration functionality from the MediaStreamProvider
interface, as MediaDevicesManager is the new class resnposible for providing
enumeration results to be used to handle renderer-generated enumeration requests
and device-change notifications. Due to this, relatively minor changes are made
to AudioInputDeviceManager and VideoCaptureManager.
BUG= 647660
Committed: https://crrev.com/cc6d460ef322ee5b6eb57736cdf5bdfb8f5c73d2
Cr-Commit-Position: refs/heads/master@{#420735}
Total comments: 24
Total comments: 20
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1600 lines, -769 lines) |
Patch |
 |
M |
content/browser/BUILD.gn
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/audio_input_device_manager.h
|
View
|
|
5 chunks |
+1 line, -17 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/audio_input_device_manager.cc
|
View
|
|
9 chunks |
+4 lines, -80 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/audio_input_device_manager_unittest.cc
|
View
|
|
4 chunks |
+9 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/audio_input_renderer_host.cc
|
View
|
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
A |
content/browser/renderer_host/media/media_devices_manager.h
|
View
|
1
2
3
|
1 chunk |
+154 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/renderer_host/media/media_devices_manager.cc
|
View
|
1
2
3
|
1 chunk |
+521 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/renderer_host/media/media_devices_manager_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+418 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc
|
View
|
1
2
|
7 chunks |
+32 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_manager.h
|
View
|
|
13 chunks |
+56 lines, -67 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_manager.cc
|
View
|
1
2
|
34 chunks |
+265 lines, -412 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_manager_unittest.cc
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/media_stream_provider.h
|
View
|
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/video_capture_manager.h
|
View
|
|
4 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/video_capture_manager.cc
|
View
|
1
|
4 chunks |
+17 lines, -25 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/media/video_capture_manager_unittest.cc
|
View
|
1
2
|
17 chunks |
+43 lines, -132 lines |
0 comments
|
Download
|
 |
M |
content/common/BUILD.gn
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/media/media_devices.h
|
View
|
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/media/media_devices.cc
|
View
|
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/public/common/media_stream_request.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/test/BUILD.gn
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 34 (20 generated)
|