| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/ipc_desktop_environment.h" | 5 #include "remoting/host/ipc_desktop_environment.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/process/process_handle.h" | 11 #include "base/process/process_handle.h" |
| 12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
| 13 #include "build/build_config.h" |
| 13 #include "ipc/ipc_sender.h" | 14 #include "ipc/ipc_sender.h" |
| 14 #include "remoting/host/audio_capturer.h" | 15 #include "remoting/host/audio_capturer.h" |
| 15 #include "remoting/host/chromoting_messages.h" | 16 #include "remoting/host/chromoting_messages.h" |
| 16 #include "remoting/host/client_session_control.h" | 17 #include "remoting/host/client_session_control.h" |
| 17 #include "remoting/host/desktop_session.h" | 18 #include "remoting/host/desktop_session.h" |
| 18 #include "remoting/host/desktop_session_proxy.h" | 19 #include "remoting/host/desktop_session_proxy.h" |
| 19 #include "remoting/host/gnubby_auth_handler.h" | 20 #include "remoting/host/gnubby_auth_handler.h" |
| 20 #include "remoting/host/input_injector.h" | 21 #include "remoting/host/input_injector.h" |
| 21 #include "remoting/host/screen_controls.h" | 22 #include "remoting/host/screen_controls.h" |
| 22 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h" | 23 #include "third_party/webrtc/modules/desktop_capture/mouse_cursor_monitor.h" |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 if (i != active_connections_.end()) { | 221 if (i != active_connections_.end()) { |
| 221 DesktopSessionProxy* desktop_session_proxy = i->second; | 222 DesktopSessionProxy* desktop_session_proxy = i->second; |
| 222 active_connections_.erase(i); | 223 active_connections_.erase(i); |
| 223 | 224 |
| 224 // Disconnect the client session. | 225 // Disconnect the client session. |
| 225 desktop_session_proxy->DisconnectSession(protocol::OK); | 226 desktop_session_proxy->DisconnectSession(protocol::OK); |
| 226 } | 227 } |
| 227 } | 228 } |
| 228 | 229 |
| 229 } // namespace remoting | 230 } // namespace remoting |
| OLD | NEW |