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

Side by Side Diff: talk/app/webrtc/peerconnection.cc

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: google::int32 Created 5 years, 3 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
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 798 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 observer_->OnRemoveStream(stream); 809 observer_->OnRemoveStream(stream);
810 } 810 }
811 811
812 void PeerConnection::OnAddDataChannel(DataChannelInterface* data_channel) { 812 void PeerConnection::OnAddDataChannel(DataChannelInterface* data_channel) {
813 observer_->OnDataChannel(DataChannelProxy::Create(signaling_thread(), 813 observer_->OnDataChannel(DataChannelProxy::Create(signaling_thread(),
814 data_channel)); 814 data_channel));
815 } 815 }
816 816
817 void PeerConnection::OnAddRemoteAudioTrack(MediaStreamInterface* stream, 817 void PeerConnection::OnAddRemoteAudioTrack(MediaStreamInterface* stream,
818 AudioTrackInterface* audio_track, 818 AudioTrackInterface* audio_track,
819 uint32 ssrc) { 819 uint32_t ssrc) {
820 stream_handler_container_->AddRemoteAudioTrack(stream, audio_track, ssrc); 820 stream_handler_container_->AddRemoteAudioTrack(stream, audio_track, ssrc);
821 } 821 }
822 822
823 void PeerConnection::OnAddRemoteVideoTrack(MediaStreamInterface* stream, 823 void PeerConnection::OnAddRemoteVideoTrack(MediaStreamInterface* stream,
824 VideoTrackInterface* video_track, 824 VideoTrackInterface* video_track,
825 uint32 ssrc) { 825 uint32_t ssrc) {
826 stream_handler_container_->AddRemoteVideoTrack(stream, video_track, ssrc); 826 stream_handler_container_->AddRemoteVideoTrack(stream, video_track, ssrc);
827 } 827 }
828 828
829 void PeerConnection::OnRemoveRemoteAudioTrack( 829 void PeerConnection::OnRemoveRemoteAudioTrack(
830 MediaStreamInterface* stream, 830 MediaStreamInterface* stream,
831 AudioTrackInterface* audio_track) { 831 AudioTrackInterface* audio_track) {
832 stream_handler_container_->RemoveRemoteTrack(stream, audio_track); 832 stream_handler_container_->RemoveRemoteTrack(stream, audio_track);
833 } 833 }
834 834
835 void PeerConnection::OnRemoveRemoteVideoTrack( 835 void PeerConnection::OnRemoveRemoteVideoTrack(
836 MediaStreamInterface* stream, 836 MediaStreamInterface* stream,
837 VideoTrackInterface* video_track) { 837 VideoTrackInterface* video_track) {
838 stream_handler_container_->RemoveRemoteTrack(stream, video_track); 838 stream_handler_container_->RemoveRemoteTrack(stream, video_track);
839 } 839 }
840 void PeerConnection::OnAddLocalAudioTrack(MediaStreamInterface* stream, 840 void PeerConnection::OnAddLocalAudioTrack(MediaStreamInterface* stream,
841 AudioTrackInterface* audio_track, 841 AudioTrackInterface* audio_track,
842 uint32 ssrc) { 842 uint32_t ssrc) {
843 stream_handler_container_->AddLocalAudioTrack(stream, audio_track, ssrc); 843 stream_handler_container_->AddLocalAudioTrack(stream, audio_track, ssrc);
844 stats_->AddLocalAudioTrack(audio_track, ssrc); 844 stats_->AddLocalAudioTrack(audio_track, ssrc);
845 } 845 }
846 void PeerConnection::OnAddLocalVideoTrack(MediaStreamInterface* stream, 846 void PeerConnection::OnAddLocalVideoTrack(MediaStreamInterface* stream,
847 VideoTrackInterface* video_track, 847 VideoTrackInterface* video_track,
848 uint32 ssrc) { 848 uint32_t ssrc) {
849 stream_handler_container_->AddLocalVideoTrack(stream, video_track, ssrc); 849 stream_handler_container_->AddLocalVideoTrack(stream, video_track, ssrc);
850 } 850 }
851 851
852 void PeerConnection::OnRemoveLocalAudioTrack(MediaStreamInterface* stream, 852 void PeerConnection::OnRemoveLocalAudioTrack(MediaStreamInterface* stream,
853 AudioTrackInterface* audio_track, 853 AudioTrackInterface* audio_track,
854 uint32 ssrc) { 854 uint32_t ssrc) {
855 stream_handler_container_->RemoveLocalTrack(stream, audio_track); 855 stream_handler_container_->RemoveLocalTrack(stream, audio_track);
856 stats_->RemoveLocalAudioTrack(audio_track, ssrc); 856 stats_->RemoveLocalAudioTrack(audio_track, ssrc);
857 } 857 }
858 858
859 void PeerConnection::OnRemoveLocalVideoTrack(MediaStreamInterface* stream, 859 void PeerConnection::OnRemoveLocalVideoTrack(MediaStreamInterface* stream,
860 VideoTrackInterface* video_track) { 860 VideoTrackInterface* video_track) {
861 stream_handler_container_->RemoveLocalTrack(stream, video_track); 861 stream_handler_container_->RemoveLocalTrack(stream, video_track);
862 } 862 }
863 863
864 void PeerConnection::OnRemoveLocalStream(MediaStreamInterface* stream) { 864 void PeerConnection::OnRemoveLocalStream(MediaStreamInterface* stream) {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 if (ice_gathering_state_ != kIceGatheringComplete) { 906 if (ice_gathering_state_ != kIceGatheringComplete) {
907 ice_gathering_state_ = kIceGatheringComplete; 907 ice_gathering_state_ = kIceGatheringComplete;
908 observer_->OnIceGatheringChange(ice_gathering_state_); 908 observer_->OnIceGatheringChange(ice_gathering_state_);
909 } 909 }
910 } 910 }
911 observer_->OnSignalingChange(signaling_state_); 911 observer_->OnSignalingChange(signaling_state_);
912 observer_->OnStateChange(PeerConnectionObserver::kSignalingState); 912 observer_->OnStateChange(PeerConnectionObserver::kSignalingState);
913 } 913 }
914 914
915 } // namespace webrtc 915 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698