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