Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: remoting/client/video_processor.h

Issue 136763009: Add VideoProcessor interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/client/video_processor.h
diff --git a/remoting/client/video_processor.h b/remoting/client/video_processor.h
new file mode 100644
index 0000000000000000000000000000000000000000..9f0b2e7b04a6939776bd1cced6984d1679b05d70
--- /dev/null
+++ b/remoting/client/video_processor.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_PROCESSOR_H_
+#define REMOTING_CLIENT_VIDEO_PROCESSOR_H_
+
+#include "remoting/protocol/video_stub.h"
+
+namespace remoting {
+
+class ChromotingStats;
+
+namespace protocol {
+class SessionConfig;
+} // namespace protocol;
+
+// VideoProcessor is responsible for decoding and displaying incoming video
+// stream.
+class VideoProcessor : public protocol::VideoStub {
Wez 2014/01/14 16:23:14 Since implementations of this class are specifical
Sergey Ulanov 2014/01/15 00:58:17 VideoRenderer it is.
+ 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.
+ virtual ChromotingStats* GetStats() = 0;
+};
+
+} // namespace remoting
+
+#endif // REMOTING_CLIENT_VIDEO_PROCESSOR_H_

Powered by Google App Engine
This is Rietveld 408576698