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

Unified Diff: content/renderer/media/rtc_peer_connection_handler.h

Issue 2317063002: WebRTCPeerConnectionHandler::getStats for the new stats collector API (Closed)
Patch Set: TODO to impl MockWebRTCPeerConnectionHandler::getStats in a follow-up instead Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/rtc_peer_connection_handler.h
diff --git a/content/renderer/media/rtc_peer_connection_handler.h b/content/renderer/media/rtc_peer_connection_handler.h
index 00e3067d81f978672e05146de94429c7f92aae17..ea9703b2fcd3976f75fc707a442f7b13903a857e 100644
--- a/content/renderer/media/rtc_peer_connection_handler.h
+++ b/content/renderer/media/rtc_peer_connection_handler.h
@@ -146,6 +146,8 @@ class CONTENT_EXPORT RTCPeerConnectionHandler
const blink::WebMediaConstraints& options) override;
void removeStream(const blink::WebMediaStream& stream) override;
void getStats(const blink::WebRTCStatsRequest& request) override;
+ void getStats(
+ std::unique_ptr<blink::WebRTCStatsReportCallback> callback) override;
blink::WebRTCDataChannelHandler* createDataChannel(
const blink::WebString& label,
const blink::WebRTCDataChannelInit& init) override;

Powered by Google App Engine
This is Rietveld 408576698