| Index: webrtc/api/peerconnectioninterface.h
|
| diff --git a/webrtc/api/peerconnectioninterface.h b/webrtc/api/peerconnectioninterface.h
|
| index 9c2301ca19d7c855433277740c1de49710f2cf56..d4daf2435e3ac7de78092579413fbc4aa41bd7dc 100644
|
| --- a/webrtc/api/peerconnectioninterface.h
|
| +++ b/webrtc/api/peerconnectioninterface.h
|
| @@ -109,14 +109,7 @@
|
|
|
| class StatsObserver : public rtc::RefCountInterface {
|
| public:
|
| - // TODO(nisse, hbos): Old version, not passing ownership. Should
|
| - // perhaps be deprecated, but since all of this is a legacy
|
| - // interface anyway, probably best to leave as is until this class
|
| - // can be deleted.
|
| - virtual void OnComplete(const StatsReports& reports) {}
|
| - virtual void OnCompleteReports(std::unique_ptr<StatsReports> reports) {
|
| - OnComplete(*reports);
|
| - }
|
| + virtual void OnComplete(const StatsReports& reports) = 0;
|
|
|
| protected:
|
| virtual ~StatsObserver() {}
|
|
|