#include "chrome/browser/ui/views/media_preview/camera_preview/video_stream_coordinator.h"
#include <memory>
#include <utility>
#include <vector>
#include "base/functional/callback_forward.h"
#include "base/run_loop.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/mock_callback.h"
#include "base/test/test_future.h"
#include "base/time/time.h"
#include "chrome/browser/ui/views/frame/test_with_browser_view.h"
#include "chrome/browser/ui/views/media_preview/camera_preview/video_stream_view.h"
#include "components/media_effects/test/fake_video_source.h"
#include "media/capture/video_capture_types.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/canvas.h"
_;
Mock;
Sequence;
class VideoStreamCoordinatorTest : public TestWithBrowserView { … };
TEST_F(VideoStreamCoordinatorTest, ConnectToFrameHandlerAndReceiveFrames) { … }
TEST_F(VideoStreamCoordinatorTest, ConnectToFrameHandlerAndReceiveNoFrames) { … }