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

Unified Diff: components/test_runner/mock_webrtc_peer_connection_handler.cc

Issue 2317063002: WebRTCPeerConnectionHandler::getStats for the new stats collector API (Closed)
Patch Set: Addressed comments 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: components/test_runner/mock_webrtc_peer_connection_handler.cc
diff --git a/components/test_runner/mock_webrtc_peer_connection_handler.cc b/components/test_runner/mock_webrtc_peer_connection_handler.cc
index b4e33bd9e3f7329c419a5a67279bbcae0953c471..87527d960a2cb4fa2d124c9580221420d72bdb3b 100644
--- a/components/test_runner/mock_webrtc_peer_connection_handler.cc
+++ b/components/test_runner/mock_webrtc_peer_connection_handler.cc
@@ -392,6 +392,13 @@ void MockWebRTCPeerConnectionHandler::getStats(
base::Owned(new WebRTCStatsRequest(request)), response)));
}
+void MockWebRTCPeerConnectionHandler::getStats(
+ std::unique_ptr<blink::WebRTCStatsReportCallback> callback) {
+ // TODO(hbos): When blink::RTCPeerConnection starts using the new |getStats|
+ // this needs to be implemented. crbug.com/627816.
+ NOTREACHED();
+}
+
void MockWebRTCPeerConnectionHandler::ReportCreationOfDataChannel() {
WebRTCDataChannelInit init;
WebRTCDataChannelHandler* remote_data_channel =

Powered by Google App Engine
This is Rietveld 408576698