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

Unified Diff: talk/app/webrtc/statscollector.h

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase + revert basictypes.h (to be landed separately just in case of a revert due to unexpected us… 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « talk/app/webrtc/sctputils_unittest.cc ('k') | talk/app/webrtc/statscollector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/statscollector.h
diff --git a/talk/app/webrtc/statscollector.h b/talk/app/webrtc/statscollector.h
index 99130a3f0133791ebf9d9e89119edb9c0b78ee7b..add26c6465eee0634237d8a90caf39d175f0c52f 100644
--- a/talk/app/webrtc/statscollector.h
+++ b/talk/app/webrtc/statscollector.h
@@ -67,11 +67,11 @@ class StatsCollector {
void AddStream(MediaStreamInterface* stream);
// Adds a local audio track that is used for getting some voice statistics.
- void AddLocalAudioTrack(AudioTrackInterface* audio_track, uint32 ssrc);
+ void AddLocalAudioTrack(AudioTrackInterface* audio_track, uint32_t ssrc);
// Removes a local audio tracks that is used for getting some voice
// statistics.
- void RemoveLocalAudioTrack(AudioTrackInterface* audio_track, uint32 ssrc);
+ void RemoveLocalAudioTrack(AudioTrackInterface* audio_track, uint32_t ssrc);
// Gather statistics from the session and store them for future use.
void UpdateStats(PeerConnectionInterface::StatsOutputLevel level);
@@ -89,8 +89,10 @@ class StatsCollector {
// Prepare a local or remote SSRC report for the given ssrc. Used internally
// in the ExtractStatsFromList template.
- StatsReport* PrepareReport(bool local, uint32 ssrc,
- const StatsReport::Id& transport_id, StatsReport::Direction direction);
+ StatsReport* PrepareReport(bool local,
+ uint32_t ssrc,
+ const StatsReport::Id& transport_id,
+ StatsReport::Direction direction);
// Method used by the unittest to force a update of stats since UpdateStats()
// that occur less than kMinGatherStatsPeriod number of ms apart will be
@@ -139,7 +141,8 @@ class StatsCollector {
// Helper method to get the id for the track identified by ssrc.
// |direction| tells if the track is for sending or receiving.
- bool GetTrackIdBySsrc(uint32 ssrc, std::string* track_id,
+ bool GetTrackIdBySsrc(uint32_t ssrc,
+ std::string* track_id,
StatsReport::Direction direction);
// Helper method to update the timestamp of track records.
@@ -155,7 +158,7 @@ class StatsCollector {
// TODO(tommi): We appear to be holding on to raw pointers to reference
// counted objects? We should be using scoped_refptr here.
- typedef std::vector<std::pair<AudioTrackInterface*, uint32> >
+ typedef std::vector<std::pair<AudioTrackInterface*, uint32_t> >
LocalAudioTrackVector;
LocalAudioTrackVector local_audio_tracks_;
};
« no previous file with comments | « talk/app/webrtc/sctputils_unittest.cc ('k') | talk/app/webrtc/statscollector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698