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

Side by Side Diff: remoting/protocol/stream_writer.h

Issue 4476003: Add VideoPacket struct for video packets. Refactor Decode interface to use it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged Created 10 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/protocol/rtp_video_writer.cc ('k') | remoting/protocol/stream_writer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef REMOTING_PROTOCOL_STREAM_WRITER_H_ 5 #ifndef REMOTING_PROTOCOL_STREAM_WRITER_H_
6 #define REMOTING_PROTOCOL_STREAM_WRITER_H_ 6 #define REMOTING_PROTOCOL_STREAM_WRITER_H_
7 7
8 #include "base/ref_counted.h" 8 #include "base/ref_counted.h"
9 #include "remoting/proto/internal.pb.h" 9 #include "remoting/proto/internal.pb.h"
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 public: 43 public:
44 // Sends the |message| or returns false if called before Init(). 44 // Sends the |message| or returns false if called before Init().
45 // Can be called on any thread. 45 // Can be called on any thread.
46 bool SendMessage(const ChromotingClientMessage& message); 46 bool SendMessage(const ChromotingClientMessage& message);
47 }; 47 };
48 48
49 class ControlStreamWriter : public StreamWriterBase { 49 class ControlStreamWriter : public StreamWriterBase {
50 public: 50 public:
51 // Sends the |message| or returns false if called before Init(). 51 // Sends the |message| or returns false if called before Init().
52 // Can be called on any thread. 52 // Can be called on any thread.
53 bool SendMessage(const ChromotingHostMessage& message); 53 bool SendMessage(const ControlMessage& message);
54 }; 54 };
55 55
56 } // namespace protocol 56 } // namespace protocol
57 } // namespace remoting 57 } // namespace remoting
58 58
59 #endif // REMOTING_PROTOCOL_STREAM_WRITER_H_ 59 #endif // REMOTING_PROTOCOL_STREAM_WRITER_H_
OLDNEW
« no previous file with comments | « remoting/protocol/rtp_video_writer.cc ('k') | remoting/protocol/stream_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698