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

Side by Side Diff: remoting/protocol/socket_reader_base.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/messages_decoder.cc ('k') | remoting/protocol/stream_reader.h » ('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_SOCKET_READER_BASE_H_ 5 #ifndef REMOTING_PROTOCOL_SOCKET_READER_BASE_H_
6 #define REMOTING_PROTOCOL_SOCKET_READER_BASE_H_ 6 #define REMOTING_PROTOCOL_SOCKET_READER_BASE_H_
7 7
8 #include "base/ref_counted.h" 8 #include "base/ref_counted.h"
9 #include "net/base/completion_callback.h" 9 #include "net/base/completion_callback.h"
10 #include "remoting/protocol/messages_decoder.h"
11 10
12 namespace net { 11 namespace net {
12 class IOBuffer;
13 class Socket; 13 class Socket;
14 } // namespace net 14 } // namespace net
15 15
16 namespace remoting { 16 namespace remoting {
17 17
18 class SocketReaderBase { 18 class SocketReaderBase {
19 public: 19 public:
20 SocketReaderBase(); 20 SocketReaderBase();
21 virtual ~SocketReaderBase(); 21 virtual ~SocketReaderBase();
22 22
(...skipping 11 matching lines...) Expand all
34 34
35 net::Socket* socket_; 35 net::Socket* socket_;
36 bool closed_; 36 bool closed_;
37 scoped_refptr<net::IOBuffer> read_buffer_; 37 scoped_refptr<net::IOBuffer> read_buffer_;
38 net::CompletionCallbackImpl<SocketReaderBase> read_callback_; 38 net::CompletionCallbackImpl<SocketReaderBase> read_callback_;
39 }; 39 };
40 40
41 } // namespace remoting 41 } // namespace remoting
42 42
43 #endif // REMOTING_PROTOCOL_SOCKET_READER_BASE_H_ 43 #endif // REMOTING_PROTOCOL_SOCKET_READER_BASE_H_
OLDNEW
« no previous file with comments | « remoting/protocol/messages_decoder.cc ('k') | remoting/protocol/stream_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698