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 CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ | 5 #ifndef CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ |
6 #define CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ | 6 #define CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 | 201 |
202 // Counter for a UMA stat reported at destruction time. | 202 // Counter for a UMA stat reported at destruction time. |
203 int num_data_channels_created_; | 203 int num_data_channels_created_; |
204 | 204 |
205 // |native_peer_connection_| is the libjingle native PeerConnection object. | 205 // |native_peer_connection_| is the libjingle native PeerConnection object. |
206 scoped_refptr<webrtc::PeerConnectionInterface> native_peer_connection_; | 206 scoped_refptr<webrtc::PeerConnectionInterface> native_peer_connection_; |
207 | 207 |
208 typedef std::map<webrtc::MediaStreamInterface*, | 208 typedef std::map<webrtc::MediaStreamInterface*, |
209 content::RemoteMediaStreamImpl*> RemoteStreamMap; | 209 content::RemoteMediaStreamImpl*> RemoteStreamMap; |
210 RemoteStreamMap remote_streams_; | 210 RemoteStreamMap remote_streams_; |
| 211 scoped_refptr<webrtc::UMAObserver> uma_observer_; |
211 | 212 |
212 DISALLOW_COPY_AND_ASSIGN(RTCPeerConnectionHandler); | 213 DISALLOW_COPY_AND_ASSIGN(RTCPeerConnectionHandler); |
213 }; | 214 }; |
214 | 215 |
215 } // namespace content | 216 } // namespace content |
216 | 217 |
217 #endif // CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ | 218 #endif // CONTENT_RENDERER_MEDIA_RTC_PEER_CONNECTION_HANDLER_H_ |
OLD | NEW |