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

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

Issue 5068001: Move move classes to the remoting::protocol namespace. Minor cleanups. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes for windows Created 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
10 #include "base/task.h" 10 #include "base/task.h"
11 11
12 namespace remoting { 12 namespace remoting {
13 13
14 class EventMessage; 14 class EventMessage;
15 class MessageReader;
16 15
17 namespace protocol { 16 namespace protocol {
18 17
19 class ControlMessage; 18 class ControlMessage;
20 class HostStub; 19 class HostStub;
20 class MessageReader;
21 class InputStub; 21 class InputStub;
22 class Session; 22 class Session;
23 23
24 // A message dispatcher used to listen for messages received in 24 // A message dispatcher used to listen for messages received in
25 // protocol::Session. It dispatches messages to the corresponding 25 // protocol::Session. It dispatches messages to the corresponding
26 // handler. 26 // handler.
27 // 27 //
28 // Internally it contains an EventStreamReader that decodes data on 28 // Internally it contains an EventStreamReader that decodes data on
29 // communications channels into protocol buffer messages. 29 // communications channels into protocol buffer messages.
30 // EventStreamReader is registered with protocol::Session given to it. 30 // EventStreamReader is registered with protocol::Session given to it.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // Stubs for host and input. These objects are not owned. 63 // Stubs for host and input. These objects are not owned.
64 // They are called on the thread there data is received, i.e. jingle thread. 64 // They are called on the thread there data is received, i.e. jingle thread.
65 HostStub* host_stub_; 65 HostStub* host_stub_;
66 InputStub* input_stub_; 66 InputStub* input_stub_;
67 }; 67 };
68 68
69 } // namespace protocol 69 } // namespace protocol
70 } // namespace remoting 70 } // namespace remoting
71 71
72 #endif // REMOTING_PROTOCOL_HOST_MESSAGE_DISPATCHER_H_ 72 #endif // REMOTING_PROTOCOL_HOST_MESSAGE_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698