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 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 // The configuration file contents. | 168 // The configuration file contents. |
169 std::string serialized_config_; | 169 std::string serialized_config_; |
170 | 170 |
171 // The list of active desktop sessions. | 171 // The list of active desktop sessions. |
172 DesktopSessionList desktop_sessions_; | 172 DesktopSessionList desktop_sessions_; |
173 | 173 |
174 // The highest desktop session ID that has been seen so far. | 174 // The highest desktop session ID that has been seen so far. |
175 int next_terminal_id_; | 175 int next_terminal_id_; |
176 | 176 |
177 // Keeps track of observers receiving host status notifications. | 177 // Keeps track of observers receiving host status notifications. |
178 ObserverList<HostStatusObserver> status_observers_; | 178 base::ObserverList<HostStatusObserver> status_observers_; |
179 | 179 |
180 // Invoked to ask the owner to delete |this|. | 180 // Invoked to ask the owner to delete |this|. |
181 base::Closure stopped_callback_; | 181 base::Closure stopped_callback_; |
182 | 182 |
183 // Writes host status updates to the system event log. | 183 // Writes host status updates to the system event log. |
184 scoped_ptr<HostEventLogger> host_event_logger_; | 184 scoped_ptr<HostEventLogger> host_event_logger_; |
185 | 185 |
186 base::WeakPtrFactory<DaemonProcess> weak_factory_; | 186 base::WeakPtrFactory<DaemonProcess> weak_factory_; |
187 | 187 |
188 DISALLOW_COPY_AND_ASSIGN(DaemonProcess); | 188 DISALLOW_COPY_AND_ASSIGN(DaemonProcess); |
189 }; | 189 }; |
190 | 190 |
191 } // namespace remoting | 191 } // namespace remoting |
192 | 192 |
193 #endif // REMOTING_HOST_DAEMON_PROCESS_H_ | 193 #endif // REMOTING_HOST_DAEMON_PROCESS_H_ |
OLD | NEW |