Index: remoting/host/video_scheduler_unittest.cc |
diff --git a/remoting/host/video_scheduler_unittest.cc b/remoting/host/video_scheduler_unittest.cc |
index 5adfafa0c9ead7bcee9e69f934ab0d5bc8cfe7df..1c4500708bb311852e789cd83ad49f7c725a34d0 100644 |
--- a/remoting/host/video_scheduler_unittest.cc |
+++ b/remoting/host/video_scheduler_unittest.cc |
@@ -25,7 +25,7 @@ |
#include "third_party/webrtc/modules/desktop_capture/screen_capturer_mock_objects.h" |
using ::remoting::protocol::MockClientStub; |
-using ::remoting::protocol::MockVideoStub; |
+using ::remoting::protocol::MockVideoSender; |
using ::testing::_; |
using ::testing::AtLeast; |
@@ -156,7 +156,7 @@ class VideoSchedulerTest : public testing::Test { |
scoped_refptr<VideoScheduler> scheduler_; |
MockClientStub client_stub_; |
- MockVideoStub video_stub_; |
+ MockVideoSender video_sender_; |
// Points to the callback passed to webrtc::DesktopCapturer::Start(). |
webrtc::DesktopCapturer::Callback* capturer_callback_; |
@@ -202,7 +202,7 @@ void VideoSchedulerTest::StartVideoScheduler( |
mouse_monitor.Pass(), |
encoder.Pass(), |
&client_stub_, |
- &video_stub_); |
+ &video_sender_); |
scheduler_->Start(); |
} |
@@ -300,11 +300,11 @@ TEST_F(VideoSchedulerTest, StartAndStop) { |
.WillRepeatedly(FinishEncode()); |
// By default delete the arguments when ProcessVideoPacket is received. |
- EXPECT_CALL(video_stub_, ProcessVideoPacketPtr(_, _)) |
+ EXPECT_CALL(video_sender_, ProcessVideoPacketPtr(_, _)) |
.WillRepeatedly(FinishSend()); |
// When the first ProcessVideoPacket is received we stop the VideoScheduler. |
- EXPECT_CALL(video_stub_, ProcessVideoPacketPtr(_, _)) |
+ EXPECT_CALL(video_sender_, ProcessVideoPacketPtr(_, _)) |
.WillOnce(DoAll( |
FinishSend(), |
InvokeWithoutArgs(this, &VideoSchedulerTest::StopVideoScheduler))) |