| Index: tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate
|
| diff --git a/tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate b/tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate
|
| index 13e2b0af3a9f3f5c8f8afcde42c911b9a02451cd..64474fd807f839bb77d9bac7fd6f403835adb123 100644
|
| --- a/tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_RTCPeerConnection.darttemplate
|
| @@ -55,5 +55,12 @@ $endif
|
| (error) { completer.completeError(error); }, mediaConstraints);
|
| return completer.future;
|
| }
|
| +
|
| + @DomName('RTCPeerConnection.getStats')
|
| + Future<RtcStatsResponse> getStats(MediaStreamTrack selector) {
|
| + var completer = new Completer<RtcStatsResponse>();
|
| + _getStats((value) { completer.complete(value); }, selector);
|
| + return completer.future;
|
| + }
|
| $!MEMBERS
|
| }
|
|
|