chromium/third_party/blink/renderer/modules/peerconnection/mock_peer_connection_dependency_factory.h

// 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.

#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_PEERCONNECTION_MOCK_PEER_CONNECTION_DEPENDENCY_FACTORY_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_PEERCONNECTION_MOCK_PEER_CONNECTION_DEPENDENCY_FACTORY_H_

#include <string>

#include "base/memory/raw_ptr.h"
#include "third_party/blink/renderer/modules/peerconnection/peer_connection_dependency_factory.h"
#include "third_party/blink/renderer/platform/wtf/hash_set.h"
#include "third_party/webrtc/api/media_stream_interface.h"
#include "third_party/webrtc/api/metronome/metronome.h"
#include "third_party/webrtc/rtc_base/ref_counted_object.h"

namespace base {
class SingleThreadTaskRunner;
}

namespace blink {

ObserverSet;

class MockWebRtcAudioSource : public webrtc::AudioSourceInterface {};

class MockWebRtcAudioTrack : public webrtc::AudioTrackInterface {};

class MockWebRtcVideoTrackSource
    : public rtc::RefCountedObject<webrtc::VideoTrackSourceInterface> {};

class MockWebRtcVideoTrack
    : public rtc::RefCountedObject<webrtc::VideoTrackInterface> {};

class MockMediaStream : public webrtc::MediaStreamInterface {};

// A mock factory for creating different objects for
// RTC PeerConnections.
class MockPeerConnectionDependencyFactory
    : public blink::PeerConnectionDependencyFactory {};

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_MODULES_PEERCONNECTION_MOCK_PEER_CONNECTION_DEPENDENCY_FACTORY_H_