Final name changing of MediaStreamInterface.label() to id().
Downstreams have been updated, and this now updates all uses of label()
to id() within WebRTC code. This change also makes id() pure virtual and
removes label().
Bug: webrtc:8977
Change-Id: Ib045ea4fabba6f14447c64875c7aeba87dc2be24
Reviewed-on: https://webrtc-review.googlesource.com/60382
Reviewed-by: Per Kjellander <perkj@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Commit-Queue: Seth Hampson <shampson@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22431}
diff --git a/api/mediastreaminterface.h b/api/mediastreaminterface.h
index e2412de..2e2cff0 100644
--- a/api/mediastreaminterface.h
+++ b/api/mediastreaminterface.h
@@ -313,10 +313,7 @@
class MediaStreamInterface : public rtc::RefCountInterface,
public NotifierInterface {
public:
- // TODO(shampson): Remove once downstreams are updated to use id().
- virtual std::string label() const;
- // TODO(shampson): Make pure virtual once downstreams have implemented.
- virtual std::string id() const;
+ virtual std::string id() const = 0;
virtual AudioTrackVector GetAudioTracks() = 0;
virtual VideoTrackVector GetVideoTracks() = 0;