#include "third_party/blink/renderer/modules/peerconnection/webrtc_set_description_observer.h"
#include <memory>
#include <optional>
#include <utility>
#include <vector>
#include "base/functional/bind.h"
#include "base/memory/ptr_util.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_runner.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/platform/scheduler/test/renderer_scheduler_test_support.h"
#include "third_party/blink/public/web/web_heap.h"
#include "third_party/blink/renderer/modules/peerconnection/mock_peer_connection_dependency_factory.h"
#include "third_party/blink/renderer/modules/peerconnection/mock_peer_connection_impl.h"
#include "third_party/blink/renderer/modules/peerconnection/testing/mock_peer_connection_interface.h"
#include "third_party/blink/renderer/modules/peerconnection/webrtc_media_stream_track_adapter_map.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/testing/task_environment.h"
#include "third_party/webrtc/api/peer_connection_interface.h"
#include "third_party/webrtc/media/base/fake_media_engine.h"
Return;
namespace blink {
class WebRtcSetDescriptionObserverForTest
: public WebRtcSetDescriptionObserver { … };
enum class ObserverHandlerType { … };
class ObserverHandlerWrapper { … };
enum class StateSurfacerType { … };
struct PrintToStringObserverHandlerType { … };
class WebRtcSetDescriptionObserverHandlerTest
: public ::testing::TestWithParam<ObserverHandlerType> { … };
TEST_P(WebRtcSetDescriptionObserverHandlerTest, OnSuccess) { … }
TEST_P(WebRtcSetDescriptionObserverHandlerTest, OnFailure) { … }
TEST_P(WebRtcSetDescriptionObserverHandlerTest,
ClosePeerConnectionBeforeCallback) { … }
INSTANTIATE_TEST_SUITE_P(…);
}