video_feedback_stub.h 756 B

12345678910111213141516171819202122232425262728293031
  1. // Copyright 2015 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef REMOTING_PROTOCOL_VIDEO_FEEDBACK_STUB_H_
  5. #define REMOTING_PROTOCOL_VIDEO_FEEDBACK_STUB_H_
  6. #include <memory>
  7. namespace remoting {
  8. class VideoAck;
  9. namespace protocol {
  10. class VideoFeedbackStub {
  11. public:
  12. VideoFeedbackStub(const VideoFeedbackStub&) = delete;
  13. VideoFeedbackStub& operator=(const VideoFeedbackStub&) = delete;
  14. virtual void ProcessVideoAck(std::unique_ptr<VideoAck> video_ack) = 0;
  15. protected:
  16. VideoFeedbackStub() {}
  17. virtual ~VideoFeedbackStub() {}
  18. };
  19. } // namespace protocol
  20. } // namespace remoting
  21. #endif // REMOTING_PROTOCOL_VIDEO_FEEDBACK_STUB_H_