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

Unified Diff: remoting/host/mouse_clamping_filter.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/mouse_clamping_filter.cc
diff --git a/remoting/host/mouse_clamping_filter.cc b/remoting/host/mouse_clamping_filter.cc
index d9c545a3e2a9730420e541a9007321abbe7f4565..74cf87607eb28e096245385aa0c55a4d0c4bdebc 100644
--- a/remoting/host/mouse_clamping_filter.cc
+++ b/remoting/host/mouse_clamping_filter.cc
@@ -12,7 +12,7 @@ namespace remoting {
MouseClampingFilter::MouseClampingFilter(
protocol::InputStub* input_stub)
: input_filter_(input_stub),
- video_stub_(nullptr) {
+ video_sender_(nullptr) {
}
MouseClampingFilter::~MouseClampingFilter() {
@@ -31,7 +31,11 @@ void MouseClampingFilter::ProcessVideoPacket(
input_filter_.set_output_size(screen_size);
}
- video_stub_->ProcessVideoPacket(video_packet.Pass(), done);
+ video_sender_->ProcessVideoPacket(video_packet.Pass(), done);
+}
+
+bool MouseClampingFilter::SupportsAcks() {
+ return video_sender_->SupportsAcks();
}
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698