New PeerConnectionInterface::GetStats: No bogus default implementation.
The Chromium mock implementation implements the new GetStats API, so we can remove this default implementation. BUG=chromium:627816 Review-Url: https://codereview.webrtc.org/2566143002 Cr-Commit-Position: refs/heads/master@{#15563}
This commit is contained in:
@ -474,10 +474,8 @@ class PeerConnectionInterface : public rtc::RefCountInterface {
|
||||
StatsOutputLevel level) = 0;
|
||||
// Gets stats using the new stats collection API, see webrtc/api/stats/. These
|
||||
// will replace old stats collection API when the new API has matured enough.
|
||||
// TODO(hbos): Default implementation that does nothing only exists as to not
|
||||
// break third party projects. As soon as they have been updated this should
|
||||
// be changed to "= 0;".
|
||||
virtual void GetStats(RTCStatsCollectorCallback* callback) {}
|
||||
// Master bug: crbug.com/627816
|
||||
virtual void GetStats(RTCStatsCollectorCallback* callback) = 0;
|
||||
|
||||
virtual rtc::scoped_refptr<DataChannelInterface> CreateDataChannel(
|
||||
const std::string& label,
|
||||
|
||||
Reference in New Issue
Block a user