OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_HOST_CONTROL_DISPATCHER_H_ | 5 #ifndef REMOTING_PROTOCOL_HOST_CONTROL_DISPATCHER_H_ |
6 #define REMOTING_PROTOCOL_HOST_CONTROL_DISPATCHER_H_ | 6 #define REMOTING_PROTOCOL_HOST_CONTROL_DISPATCHER_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "remoting/protocol/channel_dispatcher_base.h" | 9 #include "remoting/protocol/channel_dispatcher_base.h" |
10 #include "remoting/protocol/client_stub.h" | 10 #include "remoting/protocol/client_stub.h" |
11 #include "remoting/protocol/message_reader.h" | 11 #include "remoting/protocol/message_reader.h" |
12 | 12 |
13 namespace base { | |
14 class MessageLoopProxy; | |
15 } // namespace base | |
16 | |
17 namespace net { | 13 namespace net { |
18 class StreamSocket; | 14 class StreamSocket; |
19 } // namespace net | 15 } // namespace net |
20 | 16 |
21 namespace remoting { | 17 namespace remoting { |
22 namespace protocol { | 18 namespace protocol { |
23 | 19 |
24 class BufferedSocketWriter; | 20 class BufferedSocketWriter; |
25 class ControlMessage; | 21 class ControlMessage; |
26 class HostStub; | 22 class HostStub; |
(...skipping 25 matching lines...) Expand all Loading... |
52 ProtobufMessageReader<ControlMessage> reader_; | 48 ProtobufMessageReader<ControlMessage> reader_; |
53 scoped_refptr<BufferedSocketWriter> writer_; | 49 scoped_refptr<BufferedSocketWriter> writer_; |
54 | 50 |
55 DISALLOW_COPY_AND_ASSIGN(HostControlDispatcher); | 51 DISALLOW_COPY_AND_ASSIGN(HostControlDispatcher); |
56 }; | 52 }; |
57 | 53 |
58 } // namespace protocol | 54 } // namespace protocol |
59 } // namespace remoting | 55 } // namespace remoting |
60 | 56 |
61 #endif // REMOTING_PROTOCOL_HOST_CONTROL_DISPATCHER_H_ | 57 #endif // REMOTING_PROTOCOL_HOST_CONTROL_DISPATCHER_H_ |
OLD | NEW |