#include "third_party/blink/public/platform/modules/mediastream/web_platform_media_stream_source.h"
#include <utility>
#include "base/check.h"
#include "base/task/single_thread_task_runner.h"
#include "third_party/blink/renderer/platform/mediastream/media_stream_source.h"
namespace blink {
const char WebPlatformMediaStreamSource::kSourceId[] = …;
WebPlatformMediaStreamSource::WebPlatformMediaStreamSource(
scoped_refptr<base::SingleThreadTaskRunner> task_runner)
: … { … }
WebPlatformMediaStreamSource::~WebPlatformMediaStreamSource() { … }
void WebPlatformMediaStreamSource::StopSource() { … }
void WebPlatformMediaStreamSource::FinalizeStopSource() { … }
void WebPlatformMediaStreamSource::SetSourceMuted(bool is_muted) { … }
void WebPlatformMediaStreamSource::SetDevice(const MediaStreamDevice& device) { … }
void WebPlatformMediaStreamSource::SetCaptureHandle(
media::mojom::CaptureHandlePtr capture_handle) { … }
void WebPlatformMediaStreamSource::SetStopCallback(
SourceStoppedCallback stop_callback) { … }
void WebPlatformMediaStreamSource::ResetSourceStoppedCallback() { … }
void WebPlatformMediaStreamSource::ChangeSource(
const MediaStreamDevice& new_device) { … }
WebMediaStreamSource WebPlatformMediaStreamSource::Owner() { … }
#if INSIDE_BLINK
void WebPlatformMediaStreamSource::SetOwner(MediaStreamSource* owner) { … }
#endif
base::SingleThreadTaskRunner* WebPlatformMediaStreamSource::GetTaskRunner()
const { … }
}