#include "third_party/blink/renderer/modules/mediastream/media_stream_device_observer.h"
#include <stddef.h>
#include <memory>
#include <string>
#include <utility>
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/mediastream/media_stream_request.h"
#include "third_party/blink/public/common/page/page_zoom.h"
#include "third_party/blink/public/mojom/mediastream/media_stream.mojom-blink.h"
#include "third_party/blink/renderer/modules/mediastream/capture_controller.h"
#include "third_party/blink/renderer/modules/mediastream/mock_mojo_media_stream_dispatcher_host.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
namespace blink {
class MediaStreamDeviceObserverTest : public ::testing::Test { … };
TEST_F(MediaStreamDeviceObserverTest, GetNonScreenCaptureDevices) { … }
TEST_F(MediaStreamDeviceObserverTest, OnDeviceStopped) { … }
TEST_F(MediaStreamDeviceObserverTest, OnDeviceChanged) { … }
TEST_F(MediaStreamDeviceObserverTest, OnDeviceChangedChangesDeviceAfterRebind) { … }
TEST_F(MediaStreamDeviceObserverTest, OnDeviceRequestStateChange) { … }
TEST_F(MediaStreamDeviceObserverTest, MultiCaptureAddAndRemoveStreams) { … }
TEST_F(MediaStreamDeviceObserverTest, MultiCaptureChangeDeviceRequestState) { … }
TEST_F(MediaStreamDeviceObserverTest, MultiCaptureRemoveStreamDevice) { … }
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_IOS)
TEST_F(MediaStreamDeviceObserverTest, OnZoomLevelChange) { … }
#endif
}