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

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

Issue 7633009: Use MessageLoopProxy for network message loop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 4 months 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
« no previous file with comments | « remoting/protocol/host_control_sender.cc ('k') | remoting/protocol/input_sender.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) 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
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_
OLDNEW
« no previous file with comments | « remoting/protocol/host_control_sender.cc ('k') | remoting/protocol/input_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698