| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // VideoWriter is a generic interface for a video stream writer. RtpVideoWriter | 5 // VideoWriter is a generic interface for a video stream writer. RtpVideoWriter |
| 6 // and ProtobufVideoWriter implement this interface for RTP and protobuf video | 6 // and ProtobufVideoWriter implement this interface for RTP and protobuf video |
| 7 // streams. VideoWriter is used by ConnectionToClient to write into the video | 7 // streams. VideoWriter is used by ConnectionToClient to write into the video |
| 8 // stream. | 8 // stream. |
| 9 | 9 |
| 10 #ifndef REMOTING_PROTOCOL_VIDEO_WRITER_H_ | 10 #ifndef REMOTING_PROTOCOL_VIDEO_WRITER_H_ |
| 11 #define REMOTING_PROTOCOL_VIDEO_WRITER_H_ | 11 #define REMOTING_PROTOCOL_VIDEO_WRITER_H_ |
| 12 | 12 |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "remoting/proto/video.pb.h" | |
| 15 | 14 |
| 16 namespace remoting { | 15 namespace remoting { |
| 17 | 16 |
| 18 class ChromotocolConnection; | 17 class VideoPacket; |
| 19 | 18 |
| 20 namespace protocol { | 19 namespace protocol { |
| 21 | 20 |
| 22 class Session; | 21 class Session; |
| 23 class SessionConfig; | 22 class SessionConfig; |
| 24 | 23 |
| 25 // TODO(sergeyu): VideoWriter should implement VideoStub interface. | 24 // TODO(sergeyu): VideoWriter should implement VideoStub interface. |
| 26 class VideoWriter { | 25 class VideoWriter { |
| 27 public: | 26 public: |
| 28 virtual ~VideoWriter(); | 27 virtual ~VideoWriter(); |
| (...skipping 15 matching lines...) Expand all Loading... |
| 44 VideoWriter() { } | 43 VideoWriter() { } |
| 45 | 44 |
| 46 private: | 45 private: |
| 47 DISALLOW_COPY_AND_ASSIGN(VideoWriter); | 46 DISALLOW_COPY_AND_ASSIGN(VideoWriter); |
| 48 }; | 47 }; |
| 49 | 48 |
| 50 } // namespace protocol | 49 } // namespace protocol |
| 51 } // namespace remoting | 50 } // namespace remoting |
| 52 | 51 |
| 53 #endif // REMOTING_PROTOCOL_VIDEO_WRITER_H_ | 52 #endif // REMOTING_PROTOCOL_VIDEO_WRITER_H_ |
| OLD | NEW |