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

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

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.h
diff --git a/third_party/WebKit/Source/platform/testing/TestingPlatformSupportWithWebRTC.h b/third_party/WebKit/Source/platform/testing/TestingPlatformSupportWithWebRTC.h
index e5c5e2bdd550beeff606ba363ab6cb7b6fdb68d8..06b4ffa42fcaf30b184d7276ac32f6bab7ac0d9e 100644
--- a/third_party/WebKit/Source/platform/testing/TestingPlatformSupportWithWebRTC.h
+++ b/third_party/WebKit/Source/platform/testing/TestingPlatformSupportWithWebRTC.h
@@ -39,6 +39,10 @@ class MockWebRTCPeerConnectionHandler : public WebRTCPeerConnectionHandler {
void GetStats(std::unique_ptr<WebRTCStatsReportCallback>) override;
WebVector<std::unique_ptr<WebRTCRtpSender>> GetSenders() override;
WebVector<std::unique_ptr<WebRTCRtpReceiver>> GetReceivers() override;
+ std::unique_ptr<WebRTCRtpSender> AddTrack(
+ const WebMediaStreamTrack&,
+ const WebVector<WebMediaStream>&) override;
+ bool RemoveTrack(WebRTCRtpSender*) override;
WebRTCDataChannelHandler* CreateDataChannel(
const WebString& label,
const WebRTCDataChannelInit&) override;

Powered by Google App Engine
This is Rietveld 408576698