Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: remoting/protocol/host_control_dispatcher.h

Issue 2538183002: remoting: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « remoting/protocol/connection_to_host.h ('k') | remoting/protocol/host_event_dispatcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_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/macros.h" 8 #include "base/macros.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/clipboard_stub.h" 11 #include "remoting/protocol/clipboard_stub.h"
12 #include "remoting/protocol/cursor_shape_stub.h" 12 #include "remoting/protocol/cursor_shape_stub.h"
13 13
14 namespace net {
15 class StreamSocket;
16 } // namespace net
17
18 namespace remoting { 14 namespace remoting {
19 namespace protocol { 15 namespace protocol {
20 16
21 class HostStub; 17 class HostStub;
22 class PairingResponse; 18 class PairingResponse;
23 class Session;
24 19
25 // HostControlDispatcher dispatches incoming messages on the control 20 // HostControlDispatcher dispatches incoming messages on the control
26 // channel to HostStub or ClipboardStub, and also implements ClientStub and 21 // channel to HostStub or ClipboardStub, and also implements ClientStub and
27 // CursorShapeStub for outgoing messages. 22 // CursorShapeStub for outgoing messages.
28 class HostControlDispatcher : public ChannelDispatcherBase, 23 class HostControlDispatcher : public ChannelDispatcherBase,
29 public ClientStub { 24 public ClientStub {
30 public: 25 public:
31 HostControlDispatcher(); 26 HostControlDispatcher();
32 ~HostControlDispatcher() override; 27 ~HostControlDispatcher() override;
33 28
(...skipping 25 matching lines...) Expand all
59 ClipboardStub* clipboard_stub_ = nullptr; 54 ClipboardStub* clipboard_stub_ = nullptr;
60 HostStub* host_stub_ = nullptr; 55 HostStub* host_stub_ = nullptr;
61 56
62 DISALLOW_COPY_AND_ASSIGN(HostControlDispatcher); 57 DISALLOW_COPY_AND_ASSIGN(HostControlDispatcher);
63 }; 58 };
64 59
65 } // namespace protocol 60 } // namespace protocol
66 } // namespace remoting 61 } // namespace remoting
67 62
68 #endif // REMOTING_PROTOCOL_HOST_CONTROL_DISPATCHER_H_ 63 #endif // REMOTING_PROTOCOL_HOST_CONTROL_DISPATCHER_H_
OLDNEW
« no previous file with comments | « remoting/protocol/connection_to_host.h ('k') | remoting/protocol/host_event_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698