| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // VideoReader is a generic interface for a video stream reader. RtpVideoReader | 5 // VideoReader is a generic interface for a video stream reader. RtpVideoReader |
| 6 // and ProtobufVideoReader implement this interface for RTP and protobuf video | 6 // and ProtobufVideoReader implement this interface for RTP and protobuf video |
| 7 // streams. VideoReader is used by ConnectionToHost to read video stream. | 7 // streams. VideoReader is used by ConnectionToHost to read video stream. |
| 8 | 8 |
| 9 #ifndef REMOTING_PROTOCOL_VIDEO_READER_H_ | 9 #ifndef REMOTING_PROTOCOL_VIDEO_READER_H_ |
| 10 #define REMOTING_PROTOCOL_VIDEO_READER_H_ | 10 #define REMOTING_PROTOCOL_VIDEO_READER_H_ |
| 11 | 11 |
| 12 #include "base/callback.h" | 12 #include "base/callback.h" |
| 13 #include "remoting/protocol/video_stub.h" | 13 #include "remoting/protocol/video_stub.h" |
| 14 | 14 |
| 15 namespace base { | 15 namespace base { |
| 16 class MessageLoopProxy; | 16 class MessageLoopProxy; |
| 17 } // namespace base | 17 } // namespace base |
| 18 | 18 |
| 19 namespace remoting { | 19 namespace remoting { |
| 20 | |
| 21 class ChromotocolConnection; | |
| 22 | |
| 23 namespace protocol { | 20 namespace protocol { |
| 24 | 21 |
| 25 class Session; | 22 class Session; |
| 26 class SessionConfig; | 23 class SessionConfig; |
| 27 | 24 |
| 28 class VideoReader { | 25 class VideoReader { |
| 29 public: | 26 public: |
| 30 static VideoReader* Create(base::MessageLoopProxy* message_loop, | 27 static VideoReader* Create(base::MessageLoopProxy* message_loop, |
| 31 const SessionConfig& config); | 28 const SessionConfig& config); |
| 32 | 29 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 46 VideoReader() { } | 43 VideoReader() { } |
| 47 | 44 |
| 48 private: | 45 private: |
| 49 DISALLOW_COPY_AND_ASSIGN(VideoReader); | 46 DISALLOW_COPY_AND_ASSIGN(VideoReader); |
| 50 }; | 47 }; |
| 51 | 48 |
| 52 } // namespace protocol | 49 } // namespace protocol |
| 53 } // namespace remoting | 50 } // namespace remoting |
| 54 | 51 |
| 55 #endif // REMOTING_PROTOCOL_VIDEO_READER_H_ | 52 #endif // REMOTING_PROTOCOL_VIDEO_READER_H_ |
| OLD | NEW |