OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef REMOTING_PROTOCOL_VIDEO_STUB_H_ |
| 6 #define REMOTING_PROTOCOL_VIDEO_STUB_H_ |
| 7 |
| 8 #include "remoting/proto/video.pb.h" |
| 9 |
| 10 class Task; |
| 11 |
| 12 namespace remoting { |
| 13 |
| 14 class VideoStub { |
| 15 public: |
| 16 virtual ~VideoStub() { } |
| 17 |
| 18 // TODO(sergeyu): VideoPacket is the protobuf message that is used to send |
| 19 // video packets in protobuf stream. It should not be used here. Add another |
| 20 // struct and use it to represent video packets internally. |
| 21 virtual void ProcessVideoPacket(const VideoPacket* video_packet, |
| 22 Task* done) = 0; |
| 23 |
| 24 protected: |
| 25 VideoStub() { } |
| 26 |
| 27 private: |
| 28 DISALLOW_COPY_AND_ASSIGN(VideoStub); |
| 29 }; |
| 30 |
| 31 } // namespace remoting |
| 32 |
| 33 #endif // REMOTING_PROTOCOL_VIDEO_STUB_H_ |
OLD | NEW |