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

Side by Side Diff: talk/app/webrtc/test/fakemediastreamsignaling.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, 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
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2013 Google Inc. 3 * Copyright 2013 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 // Implements MediaStreamSignalingObserver. 87 // Implements MediaStreamSignalingObserver.
88 virtual void OnAddRemoteStream(webrtc::MediaStreamInterface* stream) { 88 virtual void OnAddRemoteStream(webrtc::MediaStreamInterface* stream) {
89 } 89 }
90 virtual void OnRemoveRemoteStream(webrtc::MediaStreamInterface* stream) { 90 virtual void OnRemoveRemoteStream(webrtc::MediaStreamInterface* stream) {
91 } 91 }
92 virtual void OnAddDataChannel(webrtc::DataChannelInterface* data_channel) { 92 virtual void OnAddDataChannel(webrtc::DataChannelInterface* data_channel) {
93 } 93 }
94 virtual void OnAddLocalAudioTrack(webrtc::MediaStreamInterface* stream, 94 virtual void OnAddLocalAudioTrack(webrtc::MediaStreamInterface* stream,
95 webrtc::AudioTrackInterface* audio_track, 95 webrtc::AudioTrackInterface* audio_track,
96 uint32 ssrc) { 96 uint32_t ssrc) {}
97 }
98 virtual void OnAddLocalVideoTrack(webrtc::MediaStreamInterface* stream, 97 virtual void OnAddLocalVideoTrack(webrtc::MediaStreamInterface* stream,
99 webrtc::VideoTrackInterface* video_track, 98 webrtc::VideoTrackInterface* video_track,
100 uint32 ssrc) { 99 uint32_t ssrc) {}
101 }
102 virtual void OnAddRemoteAudioTrack(webrtc::MediaStreamInterface* stream, 100 virtual void OnAddRemoteAudioTrack(webrtc::MediaStreamInterface* stream,
103 webrtc::AudioTrackInterface* audio_track, 101 webrtc::AudioTrackInterface* audio_track,
104 uint32 ssrc) { 102 uint32_t ssrc) {}
105 }
106 103
107 virtual void OnAddRemoteVideoTrack(webrtc::MediaStreamInterface* stream, 104 virtual void OnAddRemoteVideoTrack(webrtc::MediaStreamInterface* stream,
108 webrtc::VideoTrackInterface* video_track, 105 webrtc::VideoTrackInterface* video_track,
109 uint32 ssrc) { 106 uint32_t ssrc) {}
110 }
111 107
112 virtual void OnRemoveRemoteAudioTrack( 108 virtual void OnRemoveRemoteAudioTrack(
113 webrtc::MediaStreamInterface* stream, 109 webrtc::MediaStreamInterface* stream,
114 webrtc::AudioTrackInterface* audio_track) { 110 webrtc::AudioTrackInterface* audio_track) {
115 } 111 }
116 112
117 virtual void OnRemoveRemoteVideoTrack( 113 virtual void OnRemoveRemoteVideoTrack(
118 webrtc::MediaStreamInterface* stream, 114 webrtc::MediaStreamInterface* stream,
119 webrtc::VideoTrackInterface* video_track) { 115 webrtc::VideoTrackInterface* video_track) {
120 } 116 }
121 117
122 virtual void OnRemoveLocalAudioTrack( 118 virtual void OnRemoveLocalAudioTrack(webrtc::MediaStreamInterface* stream,
123 webrtc::MediaStreamInterface* stream, 119 webrtc::AudioTrackInterface* audio_track,
124 webrtc::AudioTrackInterface* audio_track, 120 uint32_t ssrc) {}
125 uint32 ssrc) {
126 }
127 virtual void OnRemoveLocalVideoTrack( 121 virtual void OnRemoveLocalVideoTrack(
128 webrtc::MediaStreamInterface* stream, 122 webrtc::MediaStreamInterface* stream,
129 webrtc::VideoTrackInterface* video_track) { 123 webrtc::VideoTrackInterface* video_track) {
130 } 124 }
131 virtual void OnRemoveLocalStream(webrtc::MediaStreamInterface* stream) { 125 virtual void OnRemoveLocalStream(webrtc::MediaStreamInterface* stream) {
132 } 126 }
133 127
134 private: 128 private:
135 rtc::scoped_refptr<webrtc::MediaStreamInterface> CreateStream( 129 rtc::scoped_refptr<webrtc::MediaStreamInterface> CreateStream(
136 const std::string& stream_label, 130 const std::string& stream_label,
(...skipping 11 matching lines...) Expand all
148 if (!video_track_id.empty()) { 142 if (!video_track_id.empty()) {
149 rtc::scoped_refptr<webrtc::VideoTrackInterface> video_track( 143 rtc::scoped_refptr<webrtc::VideoTrackInterface> video_track(
150 webrtc::VideoTrack::Create(video_track_id, NULL)); 144 webrtc::VideoTrack::Create(video_track_id, NULL));
151 stream->AddTrack(video_track); 145 stream->AddTrack(video_track);
152 } 146 }
153 return stream; 147 return stream;
154 } 148 }
155 }; 149 };
156 150
157 #endif // TALK_APP_WEBRTC_TEST_FAKEMEDIASTREAMSIGNALING_H_ 151 #endif // TALK_APP_WEBRTC_TEST_FAKEMEDIASTREAMSIGNALING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698