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

Unified Diff: remoting/host/screen_recorder_unittest.cc

Issue 9827006: Refactor VideoStub interface to accept ownership of video packets. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
« no previous file with comments | « remoting/host/screen_recorder.cc ('k') | remoting/protocol/client_control_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/screen_recorder_unittest.cc
diff --git a/remoting/host/screen_recorder_unittest.cc b/remoting/host/screen_recorder_unittest.cc
index cb2c7bcf8756ee6da6d171d11a5b3f61be6b89ba..29e618b6a04c66077f07f842f75e64e3c0474119 100644
--- a/remoting/host/screen_recorder_unittest.cc
+++ b/remoting/host/screen_recorder_unittest.cc
@@ -143,12 +143,12 @@ TEST_F(ScreenRecorderTest, StartAndStop) {
.WillRepeatedly(Return(&video_stub));
// By default delete the arguments when ProcessVideoPacket is received.
- EXPECT_CALL(video_stub, ProcessVideoPacket(_, _))
+ EXPECT_CALL(video_stub, ProcessVideoPacketPtr(_, _))
.WillRepeatedly(FinishSend());
// For the first time when ProcessVideoPacket is received we stop the
// ScreenRecorder.
- EXPECT_CALL(video_stub, ProcessVideoPacket(_, _))
+ EXPECT_CALL(video_stub, ProcessVideoPacketPtr(_, _))
.WillOnce(DoAll(
FinishSend(),
StopScreenRecorder(record_,
« no previous file with comments | « remoting/host/screen_recorder.cc ('k') | remoting/protocol/client_control_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698