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 #include "remoting/protocol/protobuf_video_writer.h" | 5 #include "remoting/protocol/protobuf_video_writer.h" |
6 | 6 |
| 7 #include "remoting/proto/video.pb.h" |
7 #include "remoting/protocol/rtp_writer.h" | 8 #include "remoting/protocol/rtp_writer.h" |
8 #include "remoting/protocol/session.h" | 9 #include "remoting/protocol/session.h" |
9 #include "remoting/protocol/util.h" | 10 #include "remoting/protocol/util.h" |
10 | 11 |
11 namespace remoting { | 12 namespace remoting { |
12 namespace protocol { | 13 namespace protocol { |
13 | 14 |
14 ProtobufVideoWriter::ProtobufVideoWriter() { } | 15 ProtobufVideoWriter::ProtobufVideoWriter() { } |
15 | 16 |
16 ProtobufVideoWriter::~ProtobufVideoWriter() { } | 17 ProtobufVideoWriter::~ProtobufVideoWriter() { } |
(...skipping 12 matching lines...) Expand all Loading... |
29 return buffered_writer_->GetBufferChunks(); | 30 return buffered_writer_->GetBufferChunks(); |
30 } | 31 } |
31 | 32 |
32 | 33 |
33 void ProtobufVideoWriter::Close() { | 34 void ProtobufVideoWriter::Close() { |
34 buffered_writer_->Close(); | 35 buffered_writer_->Close(); |
35 } | 36 } |
36 | 37 |
37 } // namespace protocol | 38 } // namespace protocol |
38 } // namespace remoting | 39 } // namespace remoting |
OLD | NEW |