Index: remoting/host/mouse_clamping_filter.h |
diff --git a/remoting/host/mouse_clamping_filter.h b/remoting/host/mouse_clamping_filter.h |
index 994abbe28a4776b122921b27a0e648a6cf90c36b..12656238b39f4064db059d0cf0805df38c15eaa1 100644 |
--- a/remoting/host/mouse_clamping_filter.h |
+++ b/remoting/host/mouse_clamping_filter.h |
@@ -7,33 +7,34 @@ |
#include "base/compiler_specific.h" |
#include "remoting/protocol/mouse_input_filter.h" |
-#include "remoting/protocol/video_stub.h" |
+#include "remoting/protocol/video_sender.h" |
namespace remoting { |
-// Filtering VideoStub implementation which configures a MouseInputFilter to |
+// Filtering VideoSender implementation which configures a MouseInputFilter to |
// clamp mouse events to fall within the dimensions of the most-recently |
// received video frame. |
-class MouseClampingFilter : public protocol::VideoStub { |
+class MouseClampingFilter : public protocol::VideoSender { |
public: |
explicit MouseClampingFilter(protocol::InputStub* input_stub); |
~MouseClampingFilter() override; |
protocol::InputStub* input_filter() { return &input_filter_; } |
- void set_video_stub(protocol::VideoStub* video_stub) { |
- video_stub_ = video_stub; |
+ void set_video_sender(protocol::VideoSender* video_sender) { |
+ video_sender_ = video_sender; |
} |
- // protocol::VideoStub implementation. |
+ // protocol::VideoSender implementation. |
void ProcessVideoPacket(scoped_ptr<VideoPacket> video_packet, |
const base::Closure& done) override; |
+ bool SupportsAcks() override; |
private: |
// Clamps mouse event coordinates to the video dimensions. |
protocol::MouseInputFilter input_filter_; |
- protocol::VideoStub* video_stub_; |
+ protocol::VideoSender* video_sender_; |
DISALLOW_COPY_AND_ASSIGN(MouseClampingFilter); |
}; |