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

Side by Side Diff: webrtc/api/rtpsenderinterface.h

Issue 1871833002: Rename BEGIN_PROXY_MAP --> BEGIN_SIGNALLING_PROXY_MAP. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Revert class name change. Created 4 years, 8 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 * Copyright 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 virtual void Stop() = 0; 53 virtual void Stop() = 0;
54 54
55 virtual RtpParameters GetParameters() const = 0; 55 virtual RtpParameters GetParameters() const = 0;
56 virtual bool SetParameters(const RtpParameters& parameters) = 0; 56 virtual bool SetParameters(const RtpParameters& parameters) = 0;
57 57
58 protected: 58 protected:
59 virtual ~RtpSenderInterface() {} 59 virtual ~RtpSenderInterface() {}
60 }; 60 };
61 61
62 // Define proxy for RtpSenderInterface. 62 // Define proxy for RtpSenderInterface.
63 BEGIN_PROXY_MAP(RtpSender) 63 BEGIN_SIGNALLING_PROXY_MAP(RtpSender)
64 PROXY_METHOD1(bool, SetTrack, MediaStreamTrackInterface*) 64 PROXY_METHOD1(bool, SetTrack, MediaStreamTrackInterface*)
65 PROXY_CONSTMETHOD0(rtc::scoped_refptr<MediaStreamTrackInterface>, track) 65 PROXY_CONSTMETHOD0(rtc::scoped_refptr<MediaStreamTrackInterface>, track)
66 PROXY_METHOD1(void, SetSsrc, uint32_t) 66 PROXY_METHOD1(void, SetSsrc, uint32_t)
67 PROXY_CONSTMETHOD0(uint32_t, ssrc) 67 PROXY_CONSTMETHOD0(uint32_t, ssrc)
68 PROXY_CONSTMETHOD0(cricket::MediaType, media_type) 68 PROXY_CONSTMETHOD0(cricket::MediaType, media_type)
69 PROXY_CONSTMETHOD0(std::string, id) 69 PROXY_CONSTMETHOD0(std::string, id)
70 PROXY_METHOD1(void, set_stream_id, const std::string&) 70 PROXY_METHOD1(void, set_stream_id, const std::string&)
71 PROXY_CONSTMETHOD0(std::string, stream_id) 71 PROXY_CONSTMETHOD0(std::string, stream_id)
72 PROXY_METHOD0(void, Stop) 72 PROXY_METHOD0(void, Stop)
73 PROXY_CONSTMETHOD0(RtpParameters, GetParameters); 73 PROXY_CONSTMETHOD0(RtpParameters, GetParameters);
74 PROXY_METHOD1(bool, SetParameters, const RtpParameters&) 74 PROXY_METHOD1(bool, SetParameters, const RtpParameters&)
75 END_PROXY() 75 END_SIGNALLING_PROXY()
76 76
77 } // namespace webrtc 77 } // namespace webrtc
78 78
79 #endif // WEBRTC_API_RTPSENDERINTERFACE_H_ 79 #endif // WEBRTC_API_RTPSENDERINTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698