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

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

Issue 2840036: Moving Encoder and Decoder to remoting/base (Closed)
Patch Set: fix DEPS Created 10 years, 5 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
« no previous file with comments | « remoting/host/chromoting_host.h ('k') | remoting/host/mock_objects.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/protocol_decoder.h" 12 #include "remoting/base/protocol_decoder.h"
12 #include "remoting/host/chromoting_host_context.h" 13 #include "remoting/host/chromoting_host_context.h"
14 #include "remoting/host/capturer.h"
15 #include "remoting/host/event_executor.h"
13 #include "remoting/host/host_config.h" 16 #include "remoting/host/host_config.h"
14 #include "remoting/host/session_manager.h" 17 #include "remoting/host/session_manager.h"
15 #include "remoting/jingle_glue/jingle_channel.h" 18 #include "remoting/jingle_glue/jingle_channel.h"
16 19
17 namespace remoting { 20 namespace remoting {
18 21
19 ChromotingHost::ChromotingHost(ChromotingHostContext* context, 22 ChromotingHost::ChromotingHost(ChromotingHostContext* context,
20 MutableHostConfig* config, 23 MutableHostConfig* config,
21 Capturer* capturer, 24 Capturer* capturer,
22 Encoder* encoder, 25 Encoder* encoder,
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 jingle_client_->Close(); 248 jingle_client_->Close();
246 } 249 }
247 250
248 // Lastly call the shutdown task. 251 // Lastly call the shutdown task.
249 if (shutdown_task_.get()) { 252 if (shutdown_task_.get()) {
250 shutdown_task_->Run(); 253 shutdown_task_->Run();
251 } 254 }
252 } 255 }
253 256
254 } // namespace remoting 257 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/chromoting_host.h ('k') | remoting/host/mock_objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698