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

Unified Diff: remoting/protocol/video_renderer.h

Issue 1559023003: Move VideoRenderer to remoting/protocol (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « remoting/client/video_renderer.h ('k') | remoting/remoting_srcs.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/video_renderer.h
diff --git a/remoting/client/video_renderer.h b/remoting/protocol/video_renderer.h
similarity index 79%
rename from remoting/client/video_renderer.h
rename to remoting/protocol/video_renderer.h
index 800516849b5f190af88bed9e77f1e0a6979dc980..4d2c05f7c5f5de024cde73c892fe6cca2047b3d7 100644
--- a/remoting/client/video_renderer.h
+++ b/remoting/protocol/video_renderer.h
@@ -1,4 +1,4 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// Copyright 2016 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.
@@ -6,11 +6,10 @@
#define REMOTING_CLIENT_VIDEO_RENDERER_H_
namespace remoting {
-
namespace protocol {
+
class SessionConfig;
class VideoStub;
-} // namespace protocol;
// VideoRenderer is responsible for decoding and displaying incoming video
// stream.
@@ -20,12 +19,13 @@ class 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;
+ virtual void OnSessionConfig(const SessionConfig& config) = 0;
// Returns the VideoStub interface of this renderer.
- virtual protocol::VideoStub* GetVideoStub() = 0;
+ virtual VideoStub* GetVideoStub() = 0;
};
+} // namespace protocol;
} // namespace remoting
#endif // REMOTING_CLIENT_VIDEO_RENDERER_H_
« no previous file with comments | « remoting/client/video_renderer.h ('k') | remoting/remoting_srcs.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698