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 #ifndef REMOTING_HOST_DAEMON_PROCESS_H_ | 5 #ifndef REMOTING_HOST_DAEMON_PROCESS_H_ |
6 #define REMOTING_HOST_DAEMON_PROCESS_H_ | 6 #define REMOTING_HOST_DAEMON_PROCESS_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/location.h" | 12 #include "base/location.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/process.h" | 15 #include "base/process.h" |
16 #include "ipc/ipc_channel.h" | 16 #include "ipc/ipc_channel.h" |
17 #include "ipc/ipc_channel_proxy.h" | 17 #include "ipc/ipc_channel_proxy.h" |
18 #include "ipc/ipc_platform_file.h" | 18 #include "ipc/ipc_platform_file.h" |
19 #include "remoting/base/stoppable.h" | 19 #include "remoting/base/stoppable.h" |
20 #include "remoting/host/config_file_watcher.h" | 20 #include "remoting/host/config_file_watcher.h" |
21 #include "remoting/host/worker_process_ipc_delegate.h" | 21 #include "remoting/host/worker_process_ipc_delegate.h" |
22 | 22 |
23 class FilePath; | |
24 | |
25 namespace remoting { | 23 namespace remoting { |
26 | 24 |
27 class AutoThreadTaskRunner; | 25 class AutoThreadTaskRunner; |
28 class DesktopSession; | 26 class DesktopSession; |
29 | 27 |
30 // This class implements core of the daemon process. It manages the networking | 28 // This class implements core of the daemon process. It manages the networking |
31 // process running at lower privileges and maintains the list of desktop | 29 // process running at lower privileges and maintains the list of desktop |
32 // sessions. | 30 // sessions. |
33 class DaemonProcess | 31 class DaemonProcess |
34 : public Stoppable, | 32 : public Stoppable, |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 133 |
136 // The highest desktop session ID that has been seen so far. | 134 // The highest desktop session ID that has been seen so far. |
137 int next_terminal_id_; | 135 int next_terminal_id_; |
138 | 136 |
139 DISALLOW_COPY_AND_ASSIGN(DaemonProcess); | 137 DISALLOW_COPY_AND_ASSIGN(DaemonProcess); |
140 }; | 138 }; |
141 | 139 |
142 } // namespace remoting | 140 } // namespace remoting |
143 | 141 |
144 #endif // REMOTING_HOST_DAEMON_PROCESS_H_ | 142 #endif // REMOTING_HOST_DAEMON_PROCESS_H_ |
OLD | NEW |