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

Unified Diff: remoting/host/chromoting_host_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/host/chromoting_host_unittest.cc
diff --git a/remoting/host/chromoting_host_unittest.cc b/remoting/host/chromoting_host_unittest.cc
index 19efc25c37052923a67f09d65b70870f9c6d9550..ca44ed198fa0aaa4bbaa904ac974e77e07099bf4 100644
--- a/remoting/host/chromoting_host_unittest.cc
+++ b/remoting/host/chromoting_host_unittest.cc
@@ -57,10 +57,10 @@ void PostQuitTask(base::MessageLoop* message_loop) {
message_loop->PostTask(FROM_HERE, base::MessageLoop::QuitClosure());
}
-// Run the task and delete it afterwards. This action is used to deal with
-// done callbacks.
+// This action is used to call the done callbacks for the VideoCapturer.
ACTION(RunDoneTask) {
- arg1.Run();
+ arg1.Run(protocol::VideoStub::PacketProgress::SENT);
+ arg1.Run(protocol::VideoStub::PacketProgress::DONE);
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698