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

Side by Side Diff: remoting/host/chromoting_host.cc

Issue 4017002: HostMessageDispatcher to parse control messages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged again Created 10 years, 1 month 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/client/jingle_host_connection.cc ('k') | remoting/host/client_connection.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) 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 #include "remoting/host/chromoting_host.h" 5 #include "remoting/host/chromoting_host.h"
6 6
7 #include "base/stl_util-inl.h" 7 #include "base/stl_util-inl.h"
8 #include "base/task.h" 8 #include "base/task.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "remoting/base/constants.h" 10 #include "remoting/base/constants.h"
11 #include "remoting/base/encoder.h" 11 #include "remoting/base/encoder.h"
12 #include "remoting/host/chromoting_host_context.h" 12 #include "remoting/host/chromoting_host_context.h"
13 #include "remoting/host/capturer.h" 13 #include "remoting/host/capturer.h"
14 #include "remoting/host/event_executor.h" 14 #include "remoting/host/event_executor.h"
15 #include "remoting/host/host_config.h" 15 #include "remoting/host/host_config.h"
16 #include "remoting/host/session_manager.h" 16 #include "remoting/host/session_manager.h"
17 #include "remoting/protocol/messages_decoder.h"
18 #include "remoting/protocol/jingle_chromotocol_server.h" 17 #include "remoting/protocol/jingle_chromotocol_server.h"
19 18
20 namespace remoting { 19 namespace remoting {
21 20
22 ChromotingHost::ChromotingHost(ChromotingHostContext* context, 21 ChromotingHost::ChromotingHost(ChromotingHostContext* context,
23 MutableHostConfig* config, 22 MutableHostConfig* config,
24 Capturer* capturer, 23 Capturer* capturer,
25 Encoder* encoder, 24 Encoder* encoder,
26 EventExecutor* executor) 25 EventExecutor* executor)
27 : context_(context), 26 : context_(context),
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 // callback. 279 // callback.
281 client_ = new ClientConnection(context_->main_message_loop(), this); 280 client_ = new ClientConnection(context_->main_message_loop(), this);
282 client_->Init(connection); 281 client_->Init(connection);
283 } 282 }
284 283
285 void ChromotingHost::OnServerClosed() { 284 void ChromotingHost::OnServerClosed() {
286 // Don't need to do anything here. 285 // Don't need to do anything here.
287 } 286 }
288 287
289 } // namespace remoting 288 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/jingle_host_connection.cc ('k') | remoting/host/client_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698