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_MESSAGE_DISPATCHER_H_ | 5 #ifndef REMOTING_PROTOCOL_HOST_MESSAGE_DISPATCHER_H_ |
6 #define REMOTING_PROTOCOL_HOST_MESSAGE_DISPATCHER_H_ | 6 #define REMOTING_PROTOCOL_HOST_MESSAGE_DISPATCHER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/task.h" | 10 #include "base/task.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 ConnectionToClient; | 16 class ConnectionToClient; |
21 class ControlMessage; | 17 class ControlMessage; |
22 class EventMessage; | 18 class EventMessage; |
23 class HostStub; | 19 class HostStub; |
24 class InputStub; | 20 class InputStub; |
25 class Session; | 21 class Session; |
26 | 22 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 // Stubs for host and input. These objects are not owned. | 66 // Stubs for host and input. These objects are not owned. |
71 // They are called on the thread there data is received, i.e. jingle thread. | 67 // They are called on the thread there data is received, i.e. jingle thread. |
72 HostStub* host_stub_; | 68 HostStub* host_stub_; |
73 InputStub* input_stub_; | 69 InputStub* input_stub_; |
74 }; | 70 }; |
75 | 71 |
76 } // namespace protocol | 72 } // namespace protocol |
77 } // namespace remoting | 73 } // namespace remoting |
78 | 74 |
79 #endif // REMOTING_PROTOCOL_HOST_MESSAGE_DISPATCHER_H_ | 75 #endif // REMOTING_PROTOCOL_HOST_MESSAGE_DISPATCHER_H_ |
OLD | NEW |