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

Side by Side Diff: talk/app/webrtc/statscollector.h

Issue 1397973002: Merging BaseSession code into WebRtcSession. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Merging with master (MediaStreamSignaling removal affected WebRtcSession). Created 5 years, 2 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 | « talk/app/webrtc/peerconnection.cc ('k') | talk/app/webrtc/statscollector.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « talk/app/webrtc/peerconnection.cc ('k') | talk/app/webrtc/statscollector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698