cc: Skip commit state timer on sync compositor
[chromium-blink-merge.git] / remoting / client / video_renderer.h
blob08ccc40941ae1b9a1d16e0d1c8aaa75d71334fb6
1 // Copyright 2014 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.
5 #ifndef REMOTING_CLIENT_VIDEO_RENDERER_H_
6 #define REMOTING_CLIENT_VIDEO_RENDERER_H_
8 #include "remoting/protocol/video_stub.h"
10 namespace remoting {
12 class ChromotingStats;
14 namespace protocol {
15 class SessionConfig;
16 } // namespace protocol;
18 // VideoRenderer is responsible for decoding and displaying incoming video
19 // stream.
20 class VideoRenderer : public protocol::VideoStub {
21 public:
22 // Initializes the processor with the information from the protocol config.
23 virtual void Initialize(const protocol::SessionConfig& config) = 0;
25 // Return the statistics recorded by this client.
26 virtual ChromotingStats* GetStats() = 0;
29 } // namespace remoting
31 #endif // REMOTING_CLIENT_VIDEO_RENDERER_H_