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

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

Issue 2628343003: Adding some features to proxy.h, and restructuring the macros. (Closed)
Patch Set: Fixing "depends on patchset..." Created 3 years, 11 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 virtual RtpParameters GetParameters() const = 0; 51 virtual RtpParameters GetParameters() const = 0;
52 virtual bool SetParameters(const RtpParameters& parameters) = 0; 52 virtual bool SetParameters(const RtpParameters& parameters) = 0;
53 53
54 protected: 54 protected:
55 virtual ~RtpSenderInterface() {} 55 virtual ~RtpSenderInterface() {}
56 }; 56 };
57 57
58 // Define proxy for RtpSenderInterface. 58 // Define proxy for RtpSenderInterface.
59 BEGIN_SIGNALING_PROXY_MAP(RtpSender) 59 BEGIN_SIGNALING_PROXY_MAP(RtpSender)
60 PROXY_METHOD1(bool, SetTrack, MediaStreamTrackInterface*) 60 PROXY_SIGNALING_THREAD_DESTRUCTOR()
61 PROXY_CONSTMETHOD0(rtc::scoped_refptr<MediaStreamTrackInterface>, track) 61 PROXY_METHOD1(bool, SetTrack, MediaStreamTrackInterface*)
62 PROXY_CONSTMETHOD0(uint32_t, ssrc) 62 PROXY_CONSTMETHOD0(rtc::scoped_refptr<MediaStreamTrackInterface>, track)
63 PROXY_CONSTMETHOD0(cricket::MediaType, media_type) 63 PROXY_CONSTMETHOD0(uint32_t, ssrc)
64 PROXY_CONSTMETHOD0(std::string, id) 64 PROXY_CONSTMETHOD0(cricket::MediaType, media_type)
65 PROXY_CONSTMETHOD0(std::vector<std::string>, stream_ids) 65 PROXY_CONSTMETHOD0(std::string, id)
66 PROXY_CONSTMETHOD0(RtpParameters, GetParameters); 66 PROXY_CONSTMETHOD0(std::vector<std::string>, stream_ids)
67 PROXY_METHOD1(bool, SetParameters, const RtpParameters&) 67 PROXY_CONSTMETHOD0(RtpParameters, GetParameters);
68 END_SIGNALING_PROXY() 68 PROXY_METHOD1(bool, SetParameters, const RtpParameters&)
69 END_PROXY_MAP()
69 70
70 } // namespace webrtc 71 } // namespace webrtc
71 72
72 #endif // WEBRTC_API_RTPSENDERINTERFACE_H_ 73 #endif // WEBRTC_API_RTPSENDERINTERFACE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698