| OLD | NEW |
| 1 /* | 1 /* |
| 2 * libjingle | 2 * libjingle |
| 3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
| 9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 | 149 |
| 150 // Helper method to update the timestamp of track records. | 150 // Helper method to update the timestamp of track records. |
| 151 void UpdateTrackReports(); | 151 void UpdateTrackReports(); |
| 152 | 152 |
| 153 // A collection for all of our stats reports. | 153 // A collection for all of our stats reports. |
| 154 StatsCollection reports_; | 154 StatsCollection reports_; |
| 155 TrackIdMap track_ids_; | 155 TrackIdMap track_ids_; |
| 156 // Raw pointer to the peer connection the statistics are gathered from. | 156 // Raw pointer to the peer connection the statistics are gathered from. |
| 157 PeerConnection* const pc_; | 157 PeerConnection* const pc_; |
| 158 double stats_gathering_started_; | 158 double stats_gathering_started_; |
| 159 cricket::ProxyTransportMap proxy_to_transport_; | 159 ProxyTransportMap proxy_to_transport_; |
| 160 | 160 |
| 161 // TODO(tommi): We appear to be holding on to raw pointers to reference | 161 // TODO(tommi): We appear to be holding on to raw pointers to reference |
| 162 // counted objects? We should be using scoped_refptr here. | 162 // counted objects? We should be using scoped_refptr here. |
| 163 typedef std::vector<std::pair<AudioTrackInterface*, uint32_t> > | 163 typedef std::vector<std::pair<AudioTrackInterface*, uint32_t> > |
| 164 LocalAudioTrackVector; | 164 LocalAudioTrackVector; |
| 165 LocalAudioTrackVector local_audio_tracks_; | 165 LocalAudioTrackVector local_audio_tracks_; |
| 166 }; | 166 }; |
| 167 | 167 |
| 168 } // namespace webrtc | 168 } // namespace webrtc |
| 169 | 169 |
| 170 #endif // TALK_APP_WEBRTC_STATSCOLLECTOR_H_ | 170 #endif // TALK_APP_WEBRTC_STATSCOLLECTOR_H_ |
| OLD | NEW |