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

Side by Side Diff: remoting/host/chromoting_host.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/client/plugin/delegating_signal_strategy.h ('k') | remoting/host/daemon_process.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_CHROMOTING_HOST_H_ 5 #ifndef REMOTING_HOST_CHROMOTING_HOST_H_
6 #define REMOTING_HOST_CHROMOTING_HOST_H_ 6 #define REMOTING_HOST_CHROMOTING_HOST_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner_; 178 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner_;
179 scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner_; 179 scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner_;
180 scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner_; 180 scoped_refptr<base::SingleThreadTaskRunner> video_encode_task_runner_;
181 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; 181 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_;
182 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_; 182 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner_;
183 183
184 // Connection objects. 184 // Connection objects.
185 SignalStrategy* signal_strategy_; 185 SignalStrategy* signal_strategy_;
186 186
187 // Must be used on the network thread only. 187 // Must be used on the network thread only.
188 ObserverList<HostStatusObserver> status_observers_; 188 base::ObserverList<HostStatusObserver> status_observers_;
189 189
190 // The connections to remote clients. 190 // The connections to remote clients.
191 ClientList clients_; 191 ClientList clients_;
192 192
193 // True if the host has been started. 193 // True if the host has been started.
194 bool started_; 194 bool started_;
195 195
196 // Configuration of the protocol. 196 // Configuration of the protocol.
197 scoped_ptr<protocol::CandidateSessionConfig> protocol_config_; 197 scoped_ptr<protocol::CandidateSessionConfig> protocol_config_;
198 198
(...skipping 17 matching lines...) Expand all
216 HostExtensionList extensions_; 216 HostExtensionList extensions_;
217 217
218 base::WeakPtrFactory<ChromotingHost> weak_factory_; 218 base::WeakPtrFactory<ChromotingHost> weak_factory_;
219 219
220 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); 220 DISALLOW_COPY_AND_ASSIGN(ChromotingHost);
221 }; 221 };
222 222
223 } // namespace remoting 223 } // namespace remoting
224 224
225 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ 225 #endif // REMOTING_HOST_CHROMOTING_HOST_H_
OLDNEW
« no previous file with comments | « remoting/client/plugin/delegating_signal_strategy.h ('k') | remoting/host/daemon_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698