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_WIN_HOST_SERVICE_H_ | 5 #ifndef REMOTING_HOST_WIN_HOST_SERVICE_H_ |
6 #define REMOTING_HOST_WIN_HOST_SERVICE_H_ | 6 #define REMOTING_HOST_WIN_HOST_SERVICE_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/memory/singleton.h" | 11 #include "base/memory/singleton.h" |
12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
13 #include "base/synchronization/waitable_event.h" | 13 #include "base/synchronization/waitable_event.h" |
| 14 #include "remoting/host/host_export.h" |
14 #include "remoting/host/win/wts_console_monitor.h" | 15 #include "remoting/host/win/wts_console_monitor.h" |
15 | 16 |
16 class CommandLine; | 17 class CommandLine; |
17 | 18 |
18 namespace base { | 19 namespace base { |
19 class SingleThreadTaskRunner; | 20 class SingleThreadTaskRunner; |
20 } // namespace base | 21 } // namespace base |
21 | 22 |
22 namespace remoting { | 23 namespace remoting { |
23 | 24 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 | 105 |
105 // A waitable event that is used to wait until the service is stopped. | 106 // A waitable event that is used to wait until the service is stopped. |
106 base::WaitableEvent stopped_event_; | 107 base::WaitableEvent stopped_event_; |
107 | 108 |
108 // Singleton. | 109 // Singleton. |
109 friend struct DefaultSingletonTraits<HostService>; | 110 friend struct DefaultSingletonTraits<HostService>; |
110 | 111 |
111 DISALLOW_COPY_AND_ASSIGN(HostService); | 112 DISALLOW_COPY_AND_ASSIGN(HostService); |
112 }; | 113 }; |
113 | 114 |
| 115 // The daemon process's entry point exported from remoting_core.dll. |
| 116 HOST_EXPORT int RunDaemonProcess(); |
| 117 |
114 } // namespace remoting | 118 } // namespace remoting |
115 | 119 |
116 #endif // REMOTING_HOST_WIN_HOST_SERVICE_H_ | 120 #endif // REMOTING_HOST_WIN_HOST_SERVICE_H_ |
OLD | NEW |