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

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..f0c86cef46c2e8edd191eba1924cd0ecd97ddf2b 100644
--- a/remoting/host/mouse_clamping_filter.cc
+++ b/remoting/host/mouse_clamping_filter.cc
@@ -20,7 +20,7 @@ MouseClampingFilter::~MouseClampingFilter() {
void MouseClampingFilter::ProcessVideoPacket(
scoped_ptr<VideoPacket> video_packet,
- const base::Closure& done) {
+ const ProgressCallback& progress_callback) {
// Configure the MouseInputFilter to clamp to the video dimensions.
if (video_packet->format().has_screen_width() &&
video_packet->format().has_screen_height()) {
@@ -31,7 +31,7 @@ void MouseClampingFilter::ProcessVideoPacket(
input_filter_.set_output_size(screen_size);
}
- video_stub_->ProcessVideoPacket(video_packet.Pass(), done);
+ video_stub_->ProcessVideoPacket(video_packet.Pass(), progress_callback);
}
} // namespace remoting

Powered by Google App Engine
This is Rietveld 408576698