#include <memory>
#include "remoting/protocol/webrtc_frame_scheduler.h"
#include "base/functional/bind.h"
#include "base/test/task_environment.h"
#include "remoting/base/session_options.h"
#include "remoting/protocol/frame_stats.h"
#include "remoting/protocol/webrtc_frame_scheduler_constant_rate.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_frame.h"
BasicDesktopFrame;
DesktopRect;
DesktopSize;
namespace remoting::protocol {
class WebrtcFrameSchedulerTest : public ::testing::Test { … };
TEST_F(WebrtcFrameSchedulerTest, NoCapturesIfZeroFps) { … }
TEST_F(WebrtcFrameSchedulerTest, CapturesAtRequestedFramerate) { … }
TEST_F(WebrtcFrameSchedulerTest, PostTaskAdjustmentApplied) { … }
TEST_F(WebrtcFrameSchedulerTest, NoCaptureWhileCapturePending) { … }
TEST_F(WebrtcFrameSchedulerTest, NoCaptureWhilePaused) { … }
}