| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_EVENT_DISPATCHER_H_ | 5 #ifndef REMOTING_PROTOCOL_HOST_EVENT_DISPATCHER_H_ |
| 6 #define REMOTING_PROTOCOL_HOST_EVENT_DISPATCHER_H_ | 6 #define REMOTING_PROTOCOL_HOST_EVENT_DISPATCHER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> |
| 9 |
| 10 #include "base/macros.h" |
| 8 #include "remoting/protocol/channel_dispatcher_base.h" | 11 #include "remoting/protocol/channel_dispatcher_base.h" |
| 9 #include "remoting/protocol/protobuf_message_parser.h" | 12 #include "remoting/protocol/protobuf_message_parser.h" |
| 10 | 13 |
| 11 namespace remoting { | 14 namespace remoting { |
| 12 namespace protocol { | 15 namespace protocol { |
| 13 | 16 |
| 14 class EventMessage; | 17 class EventMessage; |
| 15 class InputStub; | 18 class InputStub; |
| 16 | 19 |
| 17 // HostEventDispatcher dispatches incoming messages on the event | 20 // HostEventDispatcher dispatches incoming messages on the event |
| (...skipping 25 matching lines...) Expand all Loading... |
| 43 | 46 |
| 44 ProtobufMessageParser<EventMessage> parser_; | 47 ProtobufMessageParser<EventMessage> parser_; |
| 45 | 48 |
| 46 DISALLOW_COPY_AND_ASSIGN(HostEventDispatcher); | 49 DISALLOW_COPY_AND_ASSIGN(HostEventDispatcher); |
| 47 }; | 50 }; |
| 48 | 51 |
| 49 } // namespace protocol | 52 } // namespace protocol |
| 50 } // namespace remoting | 53 } // namespace remoting |
| 51 | 54 |
| 52 #endif // REMOTING_PROTOCOL_HOST_EVENT_DISPATCHER_H_ | 55 #endif // REMOTING_PROTOCOL_HOST_EVENT_DISPATCHER_H_ |
| OLD | NEW |