| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |