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

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

Issue 4017002: HostMessageDispatcher to parse control messages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged again 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/stream_reader.cc ('k') | remoting/remoting.gyp » ('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 "remoting/proto/internal.pb.h"
8 #include "remoting/protocol/buffered_socket_writer.h" 9 #include "remoting/protocol/buffered_socket_writer.h"
9 #include "remoting/protocol/messages_decoder.h"
10 10
11 namespace remoting { 11 namespace remoting {
12 12
13 class ChromotingConnection; 13 class ChromotingConnection;
14 14
15 class StreamWriterBase { 15 class StreamWriterBase {
16 public: 16 public:
17 StreamWriterBase(); 17 StreamWriterBase();
18 virtual ~StreamWriterBase(); 18 virtual ~StreamWriterBase();
19 19
(...skipping 24 matching lines...) Expand all
44 class VideoStreamWriter : public StreamWriterBase { 44 class VideoStreamWriter : public StreamWriterBase {
45 public: 45 public:
46 // Sends the |message| or returns false if called before Init(). 46 // Sends the |message| or returns false if called before Init().
47 // Can be called on any thread. 47 // Can be called on any thread.
48 bool SendMessage(const ChromotingHostMessage& message); 48 bool SendMessage(const ChromotingHostMessage& message);
49 }; 49 };
50 50
51 } // namespace remoting 51 } // namespace remoting
52 52
53 #endif // REMOTING_PROTOCOL_STREAM_WRITER_H_ 53 #endif // REMOTING_PROTOCOL_STREAM_WRITER_H_
OLDNEW
« no previous file with comments | « remoting/protocol/stream_reader.cc ('k') | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698