chromium/third_party/blink/renderer/modules/mediastream/test/transfer_test_utils.cc

// Copyright 2022 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/test/transfer_test_utils.h"

#include "third_party/blink/public/platform/scheduler/test/renderer_scheduler_test_support.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/modules/mediastream/media_stream_video_capturer_source.h"
#include "third_party/blink/renderer/modules/mediastream/media_stream_video_track.h"
#include "third_party/blink/renderer/modules/mediastream/mock_video_capturer_source.h"
#include "third_party/blink/renderer/platform/mediastream/media_stream_audio_source.h"
#include "third_party/blink/renderer/platform/mediastream/media_stream_audio_track.h"
#include "third_party/blink/renderer/platform/mediastream/media_stream_component_impl.h"
#include "third_party/blink/renderer/platform/mediastream/media_stream_source.h"

namespace blink {

void SetFromTransferredStateImplForTesting(
    MediaStreamTrack::FromTransferredStateImplForTesting impl) {}

ScopedMockMediaStreamTrackFromTransferredState::
    ScopedMockMediaStreamTrackFromTransferredState() {}
ScopedMockMediaStreamTrackFromTransferredState::
    ~ScopedMockMediaStreamTrackFromTransferredState() {}

MediaStreamTrack* ScopedMockMediaStreamTrackFromTransferredState::Impl(
    const MediaStreamTrack::TransferredValues& data) {}

MediaStreamComponent* MakeTabCaptureVideoComponentForTest(
    LocalFrame* frame,
    base::UnguessableToken session_id) {}

MediaStreamComponent* MakeTabCaptureAudioComponentForTest(
    base::UnguessableToken session_id) {}

}  // namespace blink