| 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_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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |