| 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..5123190d25a86656c54205c52cfc21d7037fa3a4 100644
|
| --- a/remoting/protocol/monitored_video_stub_unittest.cc
|
| +++ b/remoting/protocol/monitored_video_stub_unittest.cc
|
| @@ -51,13 +51,13 @@ TEST_F(MonitoredVideoStubTest, OnChannelConnected) {
|
| // finishes, so we expect to see at most one transition to not ready.
|
| EXPECT_CALL(*this, OnVideoChannelStatus(false)).Times(AtMost(1));
|
|
|
| - monitor_->ProcessVideoPacket(packet_.Pass(), base::Closure());
|
| + monitor_->ProcessVideoPacket(packet_.Pass(), VideoStub::ProgressCallback());
|
| base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| TEST_F(MonitoredVideoStubTest, OnChannelDisconnected) {
|
| EXPECT_CALL(*this, OnVideoChannelStatus(true));
|
| - monitor_->ProcessVideoPacket(packet_.Pass(), base::Closure());
|
| + monitor_->ProcessVideoPacket(packet_.Pass(), VideoStub::ProgressCallback());
|
|
|
| EXPECT_CALL(*this, OnVideoChannelStatus(false)).WillOnce(
|
| InvokeWithoutArgs(
|
| @@ -74,8 +74,8 @@ TEST_F(MonitoredVideoStubTest, OnChannelStayConnected) {
|
| // finishes, so we expect to see at most one transition to not ready.
|
| EXPECT_CALL(*this, OnVideoChannelStatus(false)).Times(AtMost(1));
|
|
|
| - monitor_->ProcessVideoPacket(packet_.Pass(), base::Closure());
|
| - monitor_->ProcessVideoPacket(packet_.Pass(), base::Closure());
|
| + monitor_->ProcessVideoPacket(packet_.Pass(), VideoStub::ProgressCallback());
|
| + monitor_->ProcessVideoPacket(packet_.Pass(), VideoStub::ProgressCallback());
|
| base::RunLoop().RunUntilIdle();
|
| }
|
|
|
| @@ -84,7 +84,7 @@ TEST_F(MonitoredVideoStubTest, OnChannelStayDisconnected) {
|
| EXPECT_CALL(*this, OnVideoChannelStatus(true)).Times(1);
|
| EXPECT_CALL(*this, OnVideoChannelStatus(false)).Times(1);
|
|
|
| - monitor_->ProcessVideoPacket(packet_.Pass(), base::Closure());
|
| + monitor_->ProcessVideoPacket(packet_.Pass(), VideoStub::ProgressCallback());
|
|
|
| message_loop_.PostDelayedTask(
|
| FROM_HERE,
|
|
|