#include "components/webrtc/media_stream_device_enumerator_impl.h"
#include <memory>
#include <utility>
#include <vector>
#include "base/functional/bind.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/media_capture_devices.h"
#include "third_party/blink/public/mojom/mediastream/media_stream.mojom.h"
MediaStreamDevices;
BrowserThread;
MediaCaptureDevices;
namespace webrtc {
const MediaStreamDevices&
MediaStreamDeviceEnumeratorImpl::GetAudioCaptureDevices() const { … }
const MediaStreamDevices&
MediaStreamDeviceEnumeratorImpl::GetVideoCaptureDevices() const { … }
const std::optional<blink::MediaStreamDevice>
MediaStreamDeviceEnumeratorImpl::GetPreferredAudioDeviceForBrowserContext(
content::BrowserContext* context,
const std::vector<std::string>& eligible_device_ids) const { … }
const std::optional<blink::MediaStreamDevice>
MediaStreamDeviceEnumeratorImpl::GetPreferredVideoDeviceForBrowserContext(
content::BrowserContext* context,
const std::vector<std::string>& eligible_device_ids) const { … }
}