Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2827)

Unified Diff: remoting/protocol/monitored_video_stub_unittest.cc

Issue 850983002: Implement video frame acknowledgements in the chromoting protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/protocol/monitored_video_stub_unittest.cc
diff --git a/remoting/protocol/monitored_video_stub_unittest.cc b/remoting/protocol/monitored_video_stub_unittest.cc
index 67162c319e488f14abbbc99e34455f8e5c422175..571ca0b57c1c9cf7df11f718275ca00c9809df6d 100644
--- a/remoting/protocol/monitored_video_stub_unittest.cc
+++ b/remoting/protocol/monitored_video_stub_unittest.cc
@@ -27,18 +27,18 @@ class MonitoredVideoStubTest : public testing::Test {
virtual void SetUp() override {
packet_.reset(new VideoPacket());
monitor_.reset(new MonitoredVideoStub(
- &video_stub_,
+ &video_sender_,
base::TimeDelta::FromMilliseconds(kTestOverrideDelayMilliseconds),
base::Bind(
&MonitoredVideoStubTest::OnVideoChannelStatus,
base::Unretained(this))));
- EXPECT_CALL(video_stub_, ProcessVideoPacketPtr(_, _)).Times(AnyNumber());
+ EXPECT_CALL(video_sender_, ProcessVideoPacketPtr(_, _)).Times(AnyNumber());
}
MOCK_METHOD1(OnVideoChannelStatus, void(bool connected));
base::MessageLoop message_loop_;
- MockVideoStub video_stub_;
+ MockVideoSender video_sender_;
scoped_ptr<MonitoredVideoStub> monitor_;
scoped_ptr<VideoPacket> packet_;

Powered by Google App Engine
This is Rietveld 408576698