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/daemon_process.h" | 5 #include "remoting/host/daemon_process.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
11 #include "base/bind_helpers.h" | 11 #include "base/bind_helpers.h" |
12 #include "base/command_line.h" | 12 #include "base/command_line.h" |
13 #include "base/file_util.h" | |
14 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 14 #include "base/files/file_util.h" |
15 #include "base/location.h" | 15 #include "base/location.h" |
16 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
17 #include "net/base/net_util.h" | 17 #include "net/base/net_util.h" |
18 #include "remoting/base/auto_thread_task_runner.h" | 18 #include "remoting/base/auto_thread_task_runner.h" |
19 #include "remoting/host/branding.h" | 19 #include "remoting/host/branding.h" |
20 #include "remoting/host/chromoting_messages.h" | 20 #include "remoting/host/chromoting_messages.h" |
21 #include "remoting/host/config_file_watcher.h" | 21 #include "remoting/host/config_file_watcher.h" |
22 #include "remoting/host/desktop_session.h" | 22 #include "remoting/host/desktop_session.h" |
23 #include "remoting/host/host_event_logger.h" | 23 #include "remoting/host/host_event_logger.h" |
24 #include "remoting/host/host_status_observer.h" | 24 #include "remoting/host/host_status_observer.h" |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 } | 370 } |
371 | 371 |
372 void DaemonProcess::DeleteAllDesktopSessions() { | 372 void DaemonProcess::DeleteAllDesktopSessions() { |
373 while (!desktop_sessions_.empty()) { | 373 while (!desktop_sessions_.empty()) { |
374 delete desktop_sessions_.front(); | 374 delete desktop_sessions_.front(); |
375 desktop_sessions_.pop_front(); | 375 desktop_sessions_.pop_front(); |
376 } | 376 } |
377 } | 377 } |
378 | 378 |
379 } // namespace remoting | 379 } // namespace remoting |
OLD | NEW |