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_CLIENT_CONTROL_DISPATCHER_H_ | 5 #ifndef REMOTING_PROTOCOL_CLIENT_CONTROL_DISPATCHER_H_ |
6 #define REMOTING_PROTOCOL_CLIENT_CONTROL_DISPATCHER_H_ | 6 #define REMOTING_PROTOCOL_CLIENT_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/host_stub.h" | 10 #include "remoting/protocol/host_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 remoting { | 13 namespace remoting { |
18 namespace protocol { | 14 namespace protocol { |
19 | 15 |
20 class ClientStub; | 16 class ClientStub; |
21 class ControlMessage; | 17 class ControlMessage; |
22 class BufferedSocketWriter; | 18 class BufferedSocketWriter; |
23 class Session; | 19 class Session; |
24 | 20 |
25 // ClientControlDispatcher dispatches incoming messages on the control | 21 // ClientControlDispatcher dispatches incoming messages on the control |
26 // channel to ClientStub, and also implements HostStub for outgoing | 22 // channel to ClientStub, and also implements HostStub for outgoing |
(...skipping 21 matching lines...) Expand all Loading... |
48 ProtobufMessageReader<ControlMessage> reader_; | 44 ProtobufMessageReader<ControlMessage> reader_; |
49 scoped_refptr<BufferedSocketWriter> writer_; | 45 scoped_refptr<BufferedSocketWriter> writer_; |
50 | 46 |
51 DISALLOW_COPY_AND_ASSIGN(ClientControlDispatcher); | 47 DISALLOW_COPY_AND_ASSIGN(ClientControlDispatcher); |
52 }; | 48 }; |
53 | 49 |
54 } // namespace protocol | 50 } // namespace protocol |
55 } // namespace remoting | 51 } // namespace remoting |
56 | 52 |
57 #endif // REMOTING_PROTOCOL_CLIENT_CONTROL_DISPATCHER_H_ | 53 #endif // REMOTING_PROTOCOL_CLIENT_CONTROL_DISPATCHER_H_ |
OLD | NEW |