#include "content/browser/renderer_host/media/media_capture_devices_impl.h"
#include "base/functional/bind.h"
#include "content/browser/browser_main_loop.h"
#include "content/browser/renderer_host/media/media_stream_manager.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
namespace content {
namespace {
void EnsureMonitorCaptureDevices() { … }
}
MediaCaptureDevices* MediaCaptureDevices::GetInstance() { … }
MediaCaptureDevicesImpl* MediaCaptureDevicesImpl::GetInstance() { … }
const blink::MediaStreamDevices&
MediaCaptureDevicesImpl::GetAudioCaptureDevices() { … }
const blink::MediaStreamDevices&
MediaCaptureDevicesImpl::GetVideoCaptureDevices() { … }
void MediaCaptureDevicesImpl::AddVideoCaptureObserver(
media::VideoCaptureObserver* observer) { … }
void MediaCaptureDevicesImpl::RemoveAllVideoCaptureObservers() { … }
void MediaCaptureDevicesImpl::OnAudioCaptureDevicesChanged(
const blink::MediaStreamDevices& devices) { … }
void MediaCaptureDevicesImpl::OnVideoCaptureDevicesChanged(
const blink::MediaStreamDevices& devices) { … }
MediaCaptureDevicesImpl::MediaCaptureDevicesImpl()
: … { … }
MediaCaptureDevicesImpl::~MediaCaptureDevicesImpl() { … }
void MediaCaptureDevicesImpl::UpdateAudioDevicesOnUIThread(
const blink::MediaStreamDevices& devices) { … }
void MediaCaptureDevicesImpl::UpdateVideoDevicesOnUIThread(
const blink::MediaStreamDevices& devices) { … }
}