OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CAST_EXTENSION_SESSION_H_ | 5 #ifndef REMOTING_HOST_CAST_EXTENSION_SESSION_H_ |
6 #define REMOTING_HOST_CAST_EXTENSION_SESSION_H_ | 6 #define REMOTING_HOST_CAST_EXTENSION_SESSION_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; | 191 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner_; |
192 scoped_refptr<base::SingleThreadTaskRunner> worker_task_runner_; | 192 scoped_refptr<base::SingleThreadTaskRunner> worker_task_runner_; |
193 | 193 |
194 // Objects related to the WebRTC PeerConnection. | 194 // Objects related to the WebRTC PeerConnection. |
195 rtc::scoped_refptr<webrtc::PeerConnectionInterface> peer_connection_; | 195 rtc::scoped_refptr<webrtc::PeerConnectionInterface> peer_connection_; |
196 rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> peer_conn_factory_; | 196 rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> peer_conn_factory_; |
197 rtc::scoped_refptr<webrtc::MediaStreamInterface> stream_; | 197 rtc::scoped_refptr<webrtc::MediaStreamInterface> stream_; |
198 rtc::scoped_refptr<CastCreateSessionDescriptionObserver> | 198 rtc::scoped_refptr<CastCreateSessionDescriptionObserver> |
199 create_session_desc_observer_; | 199 create_session_desc_observer_; |
200 | 200 |
201 // Parameters passed to ChromiumPortAllocator on creation. | 201 // Parameters passed to ChromiumPortAllocatorFactory on creation. |
202 scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; | 202 scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; |
203 const protocol::NetworkSettings& network_settings_; | 203 const protocol::NetworkSettings& network_settings_; |
204 | 204 |
205 // Interface to interact with ClientSession. | 205 // Interface to interact with ClientSession. |
206 ClientSessionControl* client_session_control_; | 206 ClientSessionControl* client_session_control_; |
207 | 207 |
208 // Interface through which messages can be sent to the client. | 208 // Interface through which messages can be sent to the client. |
209 protocol::ClientStub* client_stub_; | 209 protocol::ClientStub* client_stub_; |
210 | 210 |
211 // Used to track webrtc connection statistics. | 211 // Used to track webrtc connection statistics. |
(...skipping 20 matching lines...) Expand all Loading... |
232 | 232 |
233 // Worker thread that is wrapped to create |worker_thread_wrapper_|. | 233 // Worker thread that is wrapped to create |worker_thread_wrapper_|. |
234 base::Thread worker_thread_; | 234 base::Thread worker_thread_; |
235 | 235 |
236 DISALLOW_COPY_AND_ASSIGN(CastExtensionSession); | 236 DISALLOW_COPY_AND_ASSIGN(CastExtensionSession); |
237 }; | 237 }; |
238 | 238 |
239 } // namespace remoting | 239 } // namespace remoting |
240 | 240 |
241 #endif // REMOTING_HOST_CAST_EXTENSION_SESSION_H_ | 241 #endif // REMOTING_HOST_CAST_EXTENSION_SESSION_H_ |
OLD | NEW |