Index: remoting/client/video_renderer.h |
diff --git a/remoting/client/video_renderer.h b/remoting/client/video_renderer.h |
index 8ba04f09e2bafb0ced6a66f1af3b635f2a5d85d9..221c824192577540c3349c43c991bcdad873e8a7 100644 |
--- a/remoting/client/video_renderer.h |
+++ b/remoting/client/video_renderer.h |
@@ -5,26 +5,30 @@ |
#ifndef REMOTING_CLIENT_VIDEO_RENDERER_H_ |
#define REMOTING_CLIENT_VIDEO_RENDERER_H_ |
-#include "remoting/protocol/video_stub.h" |
- |
namespace remoting { |
class ChromotingStats; |
namespace protocol { |
class SessionConfig; |
+class VideoStub; |
} // namespace protocol; |
// VideoRenderer is responsible for decoding and displaying incoming video |
// stream. |
-class VideoRenderer : public protocol::VideoStub { |
+class VideoRenderer { |
public: |
+ virtual ~VideoRenderer() {} |
+ |
// Configures the renderer with the supplied |config|. This must be called |
// exactly once before video data is supplied to the renderer. |
virtual void OnSessionConfig(const protocol::SessionConfig& config) = 0; |
// Return the statistics recorded by this client. |
virtual ChromotingStats* GetStats() = 0; |
+ |
+ // Returns the VideoStub interface of this renderer. |
+ virtual protocol::VideoStub* GetVideoStub() = 0; |
}; |
} // namespace remoting |