#include "third_party/blink/renderer/modules/mediastream/mock_mojo_media_stream_dispatcher_host.h"
#include <utility>
#include "third_party/blink/public/mojom/mediastream/media_stream.mojom-blink.h"
namespace blink {
MockMojoMediaStreamDispatcherHost::~MockMojoMediaStreamDispatcherHost() { … }
mojo::PendingRemote<mojom::blink::MediaStreamDispatcherHost>
MockMojoMediaStreamDispatcherHost::CreatePendingRemoteAndBind() { … }
void MockMojoMediaStreamDispatcherHost::GenerateStreams(
int32_t request_id,
const StreamControls& controls,
bool user_gesture,
mojom::blink::StreamSelectionInfoPtr audio_stream_selection_info_ptr,
GenerateStreamsCallback callback) { … }
void MockMojoMediaStreamDispatcherHost::GetOpenDevice(
int32_t request_id,
const base::UnguessableToken&,
const base::UnguessableToken&,
GetOpenDeviceCallback callback) { … }
void MockMojoMediaStreamDispatcherHost::CancelRequest(int32_t request_id) { … }
void MockMojoMediaStreamDispatcherHost::StopStreamDevice(
const String& device_id,
const std::optional<base::UnguessableToken>& session_id) { … }
void MockMojoMediaStreamDispatcherHost::OpenDevice(
int32_t request_id,
const String& device_id,
mojom::blink::MediaStreamType type,
OpenDeviceCallback callback) { … }
std::string MockMojoMediaStreamDispatcherHost::MaybeAppendSessionId(
std::string device_id) { … }
}