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

Side by Side Diff: talk/app/webrtc/webrtcsession.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: 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 // SessionDescription and SessionDescriptionInterface and remove 186 // SessionDescription and SessionDescriptionInterface and remove
187 // these if possible. 187 // these if possible.
188 const cricket::SessionDescription* base_local_description() const { 188 const cricket::SessionDescription* base_local_description() const {
189 return BaseSession::local_description(); 189 return BaseSession::local_description();
190 } 190 }
191 const cricket::SessionDescription* base_remote_description() const { 191 const cricket::SessionDescription* base_remote_description() const {
192 return BaseSession::remote_description(); 192 return BaseSession::remote_description();
193 } 193 }
194 194
195 // Get the id used as a media stream track's "id" field from ssrc. 195 // Get the id used as a media stream track's "id" field from ssrc.
196 virtual bool GetLocalTrackIdBySsrc(uint32 ssrc, std::string* track_id); 196 virtual bool GetLocalTrackIdBySsrc(uint32_t ssrc, std::string* track_id);
197 virtual bool GetRemoteTrackIdBySsrc(uint32 ssrc, std::string* track_id); 197 virtual bool GetRemoteTrackIdBySsrc(uint32_t ssrc, std::string* track_id);
198 198
199 // AudioMediaProviderInterface implementation. 199 // AudioMediaProviderInterface implementation.
200 void SetAudioPlayout(uint32 ssrc, 200 void SetAudioPlayout(uint32_t ssrc,
201 bool enable, 201 bool enable,
202 cricket::AudioRenderer* renderer) override; 202 cricket::AudioRenderer* renderer) override;
203 void SetAudioSend(uint32 ssrc, 203 void SetAudioSend(uint32_t ssrc,
204 bool enable, 204 bool enable,
205 const cricket::AudioOptions& options, 205 const cricket::AudioOptions& options,
206 cricket::AudioRenderer* renderer) override; 206 cricket::AudioRenderer* renderer) override;
207 void SetAudioPlayoutVolume(uint32 ssrc, double volume) override; 207 void SetAudioPlayoutVolume(uint32_t ssrc, double volume) override;
208 208
209 // Implements VideoMediaProviderInterface. 209 // Implements VideoMediaProviderInterface.
210 bool SetCaptureDevice(uint32 ssrc, cricket::VideoCapturer* camera) override; 210 bool SetCaptureDevice(uint32_t ssrc, cricket::VideoCapturer* camera) override;
211 void SetVideoPlayout(uint32 ssrc, 211 void SetVideoPlayout(uint32_t ssrc,
212 bool enable, 212 bool enable,
213 cricket::VideoRenderer* renderer) override; 213 cricket::VideoRenderer* renderer) override;
214 void SetVideoSend(uint32 ssrc, 214 void SetVideoSend(uint32_t ssrc,
215 bool enable, 215 bool enable,
216 const cricket::VideoOptions* options) override; 216 const cricket::VideoOptions* options) override;
217 217
218 // Implements DtmfProviderInterface. 218 // Implements DtmfProviderInterface.
219 virtual bool CanInsertDtmf(const std::string& track_id); 219 virtual bool CanInsertDtmf(const std::string& track_id);
220 virtual bool InsertDtmf(const std::string& track_id, 220 virtual bool InsertDtmf(const std::string& track_id,
221 int code, int duration); 221 int code, int duration);
222 virtual sigslot::signal0<>* GetOnDestroyedSignal(); 222 virtual sigslot::signal0<>* GetOnDestroyedSignal();
223 223
224 // Implements DataChannelProviderInterface. 224 // Implements DataChannelProviderInterface.
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 PeerConnectionInterface::BundlePolicy bundle_policy_; 412 PeerConnectionInterface::BundlePolicy bundle_policy_;
413 413
414 // Declares the RTCP mux policy for the WebRTCSession. 414 // Declares the RTCP mux policy for the WebRTCSession.
415 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_; 415 PeerConnectionInterface::RtcpMuxPolicy rtcp_mux_policy_;
416 416
417 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession); 417 RTC_DISALLOW_COPY_AND_ASSIGN(WebRtcSession);
418 }; 418 };
419 } // namespace webrtc 419 } // namespace webrtc
420 420
421 #endif // TALK_APP_WEBRTC_WEBRTCSESSION_H_ 421 #endif // TALK_APP_WEBRTC_WEBRTCSESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698