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

Unified Diff: third_party/WebKit/Source/platform/testing/TestingPlatformSupportWithWebRTC.cpp

Issue 2951713002: RTCPeerConnection.addTrack and removeTrack added (behind flag) (Closed)
Patch Set: Addressed deadbeef's comments Created 3 years, 5 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: third_party/WebKit/Source/platform/testing/TestingPlatformSupportWithWebRTC.cpp
diff --git a/third_party/WebKit/Source/platform/testing/TestingPlatformSupportWithWebRTC.cpp b/third_party/WebKit/Source/platform/testing/TestingPlatformSupportWithWebRTC.cpp
index ab9338df7a1956770555c4b7aa1e1c10d07ff014..3cd3d3a75684d6adae71e74ce361a7b1677f9c2d 100644
--- a/third_party/WebKit/Source/platform/testing/TestingPlatformSupportWithWebRTC.cpp
+++ b/third_party/WebKit/Source/platform/testing/TestingPlatformSupportWithWebRTC.cpp
@@ -80,6 +80,16 @@ MockWebRTCPeerConnectionHandler::GetReceivers() {
return WebVector<std::unique_ptr<WebRTCRtpReceiver>>();
}
+std::unique_ptr<WebRTCRtpSender> MockWebRTCPeerConnectionHandler::AddTrack(
+ const WebMediaStreamTrack&,
+ const WebVector<WebMediaStream>&) {
+ return nullptr;
+}
+
+bool MockWebRTCPeerConnectionHandler::RemoveTrack(WebRTCRtpSender*) {
+ return false;
+}
+
WebRTCDataChannelHandler* MockWebRTCPeerConnectionHandler::CreateDataChannel(
const WebString& label,
const WebRTCDataChannelInit&) {

Powered by Google App Engine
This is Rietveld 408576698