chromium/services/video_capture/public/cpp/receiver_mojo_to_media_adapter.cc

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

#include "services/video_capture/public/cpp/receiver_mojo_to_media_adapter.h"

#include "base/memory/scoped_refptr.h"

namespace video_capture {

ReceiverMojoToMediaAdapter::ReceiverMojoToMediaAdapter(
    mojo::Remote<mojom::VideoFrameHandler> handler)
    :{}

ReceiverMojoToMediaAdapter::~ReceiverMojoToMediaAdapter() = default;

base::WeakPtr<media::VideoFrameReceiver>
ReceiverMojoToMediaAdapter::GetWeakPtr() {}

void ReceiverMojoToMediaAdapter::OnCaptureConfigurationChanged() {}

void ReceiverMojoToMediaAdapter::OnNewBuffer(
    int buffer_id,
    media::mojom::VideoBufferHandlePtr buffer_handle) {}

void ReceiverMojoToMediaAdapter::OnFrameReadyInBuffer(
    media::ReadyFrameInBuffer frame) {}

void ReceiverMojoToMediaAdapter::OnBufferRetired(int buffer_id) {}

void ReceiverMojoToMediaAdapter::OnError(media::VideoCaptureError error) {}

void ReceiverMojoToMediaAdapter::OnFrameDropped(
    media::VideoCaptureFrameDropReason reason) {}

void ReceiverMojoToMediaAdapter::OnFrameWithEmptyRegionCapture() {}

void ReceiverMojoToMediaAdapter::OnNewSubCaptureTargetVersion(
    uint32_t sub_capture_target_version) {}

void ReceiverMojoToMediaAdapter::OnLog(const std::string& message) {}

void ReceiverMojoToMediaAdapter::OnStarted() {}

void ReceiverMojoToMediaAdapter::OnStartedUsingGpuDecode() {}

void ReceiverMojoToMediaAdapter::OnStopped() {}

}  // namespace video_capture