chromium/third_party/blink/renderer/modules/mediastream/mock_media_stream_video_sink.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/modules/mediastream/mock_media_stream_video_sink.h"

#include "base/task/bind_post_task.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"

namespace blink {

MockMediaStreamVideoSink::MockMediaStreamVideoSink()
    :{}

MockMediaStreamVideoSink::~MockMediaStreamVideoSink() {}

blink::VideoCaptureDeliverFrameCB
MockMediaStreamVideoSink::GetDeliverFrameCB() {}

EncodedVideoFrameCB MockMediaStreamVideoSink::GetDeliverEncodedVideoFrameCB() {}

VideoCaptureNotifyFrameDroppedCB
MockMediaStreamVideoSink::GetNotifyFrameDroppedCB() {}

void MockMediaStreamVideoSink::DeliverVideoFrame(
    scoped_refptr<media::VideoFrame> frame,
    base::TimeTicks estimated_capture_time) {}

void MockMediaStreamVideoSink::DeliverEncodedVideoFrame(
    scoped_refptr<EncodedVideoFrame> frame,
    base::TimeTicks estimated_capture_time) {}

void MockMediaStreamVideoSink::NotifyFrameDropped(
    media::VideoCaptureFrameDropReason reason) {}

void MockMediaStreamVideoSink::OnReadyStateChanged(
    blink::WebMediaStreamSource::ReadyState state) {}

void MockMediaStreamVideoSink::OnEnabledChanged(bool enabled) {}

void MockMediaStreamVideoSink::OnContentHintChanged(
    WebMediaStreamTrack::ContentHintType content_hint) {}

}  // namespace blink