| 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/desktop_session_agent.h" | 5 #include "remoting/host/desktop_session_agent.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/files/file_util.h" | 9 #include "base/files/file_util.h" |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/ptr_util.h" | 12 #include "base/memory/ptr_util.h" |
| 13 #include "base/memory/shared_memory.h" | 13 #include "base/memory/shared_memory.h" |
| 14 #include "base/process/process_handle.h" | 14 #include "base/process/process_handle.h" |
| 15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
| 16 #include "ipc/ipc_channel_proxy.h" | 16 #include "ipc/ipc_channel_proxy.h" |
| 17 #include "ipc/ipc_message.h" | 17 #include "ipc/ipc_message.h" |
| 18 #include "ipc/ipc_message_macros.h" | 18 #include "ipc/ipc_message_macros.h" |
| 19 #include "remoting/base/auto_thread_task_runner.h" | 19 #include "remoting/base/auto_thread_task_runner.h" |
| 20 #include "remoting/base/constants.h" | 20 #include "remoting/base/constants.h" |
| 21 #include "remoting/host/audio_capturer.h" | 21 #include "remoting/host/audio_capturer.h" |
| 22 #include "remoting/host/chromoting_messages.h" | 22 #include "remoting/host/chromoting_messages.h" |
| 23 #include "remoting/host/desktop_environment.h" | 23 #include "remoting/host/desktop_environment.h" |
| 24 #include "remoting/host/input_injector.h" | 24 #include "remoting/host/input_injector.h" |
| 25 #include "remoting/host/ipc_util.h" | |
| 26 #include "remoting/host/remote_input_filter.h" | 25 #include "remoting/host/remote_input_filter.h" |
| 27 #include "remoting/host/screen_controls.h" | 26 #include "remoting/host/screen_controls.h" |
| 28 #include "remoting/host/screen_resolution.h" | 27 #include "remoting/host/screen_resolution.h" |
| 29 #include "remoting/proto/audio.pb.h" | 28 #include "remoting/proto/audio.pb.h" |
| 30 #include "remoting/proto/control.pb.h" | 29 #include "remoting/proto/control.pb.h" |
| 31 #include "remoting/proto/event.pb.h" | 30 #include "remoting/proto/event.pb.h" |
| 32 #include "remoting/protocol/clipboard_stub.h" | 31 #include "remoting/protocol/clipboard_stub.h" |
| 33 #include "remoting/protocol/errors.h" | 32 #include "remoting/protocol/errors.h" |
| 34 #include "remoting/protocol/input_event_tracker.h" | 33 #include "remoting/protocol/input_event_tracker.h" |
| 35 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" | 34 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" |
| (...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 } | 552 } |
| 554 } | 553 } |
| 555 | 554 |
| 556 void DesktopSessionAgent::StopAudioCapturer() { | 555 void DesktopSessionAgent::StopAudioCapturer() { |
| 557 DCHECK(audio_capture_task_runner_->BelongsToCurrentThread()); | 556 DCHECK(audio_capture_task_runner_->BelongsToCurrentThread()); |
| 558 | 557 |
| 559 audio_capturer_.reset(); | 558 audio_capturer_.reset(); |
| 560 } | 559 } |
| 561 | 560 |
| 562 } // namespace remoting | 561 } // namespace remoting |
| OLD | NEW |