Chromium Code Reviews| Index: remoting/client/video_renderer.h |
| diff --git a/remoting/client/video_renderer.h b/remoting/client/video_renderer.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..5d27a69fc08853bd43920889d660d72eb68be970 |
| --- /dev/null |
| +++ b/remoting/client/video_renderer.h |
| @@ -0,0 +1,31 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#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; |
| +} // namespace protocol; |
| + |
| +// VideoRenderer is responsible for decoding and displaying incoming video |
| +// stream. |
| +class VideoRenderer : public protocol::VideoStub { |
| + public: |
| + // Initializes the processor with the information from the protocol config. |
| + virtual void Initialize(const protocol::SessionConfig& config) = 0; |
| + |
| + // Return the stats recorded by this client. |
|
Wez
2014/01/22 20:17:31
stats -> statistics
Sergey Ulanov
2014/01/23 01:02:43
Done.
|
| + virtual ChromotingStats* GetStats() = 0; |
| +}; |
| + |
| +} // namespace remoting |
| + |
| +#endif // REMOTING_CLIENT_VIDEO_RENDERER_H_ |