| 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 |
| 13 namespace remoting { | 17 namespace remoting { |
| 14 namespace protocol { | 18 namespace protocol { |
| 15 | 19 |
| 16 class ConnectionToClient; | 20 class ConnectionToClient; |
| 17 class ControlMessage; | 21 class ControlMessage; |
| 18 class EventMessage; | 22 class EventMessage; |
| 19 class HostStub; | 23 class HostStub; |
| 20 class InputStub; | 24 class InputStub; |
| 21 class Session; | 25 class Session; |
| 22 | 26 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 // Stubs for host and input. These objects are not owned. | 68 // Stubs for host and input. These objects are not owned. |
| 65 // They are called on the thread there data is received, i.e. jingle thread. | 69 // They are called on the thread there data is received, i.e. jingle thread. |
| 66 HostStub* host_stub_; | 70 HostStub* host_stub_; |
| 67 InputStub* input_stub_; | 71 InputStub* input_stub_; |
| 68 }; | 72 }; |
| 69 | 73 |
| 70 } // namespace protocol | 74 } // namespace protocol |
| 71 } // namespace remoting | 75 } // namespace remoting |
| 72 | 76 |
| 73 #endif // REMOTING_PROTOCOL_HOST_MESSAGE_DISPATCHER_H_ | 77 #endif // REMOTING_PROTOCOL_HOST_MESSAGE_DISPATCHER_H_ |
| OLD | NEW |