Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Side by Side Diff: remoting/host/daemon_process.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « remoting/host/chromoting_host.h ('k') | remoting/host/linux/audio_pipe_reader.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « remoting/host/chromoting_host.h ('k') | remoting/host/linux/audio_pipe_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698