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

Unified Diff: third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp

Issue 2749703005: RTCRtpSender with track behind RuntimeEnabled flag (Closed)
Patch Set: external/wpt/webrtc/RTCPeerConnection-idl-expected.txt updated passing 2 more tests Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/platform/exported/WebRTCRtpSender.cpp ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp b/third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp
index 7997723f2ad8b4721807100d81bfdf9716ef228a..63280d990b7f025ac05a7c37524d031dcd3c015e 100644
--- a/third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp
@@ -9,6 +9,7 @@
#include "public/platform/WebRTCError.h"
#include "public/platform/WebRTCPeerConnectionHandler.h"
#include "public/platform/WebRTCRtpReceiver.h"
+#include "public/platform/WebRTCRtpSender.h"
#include "public/platform/WebRTCSessionDescription.h"
#include "public/web/WebScriptSource.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -80,6 +81,10 @@ class MockWebRTCPeerConnectionHandler : public WebRTCPeerConnectionHandler {
void RemoveStream(const WebMediaStream&) override {}
void GetStats(const WebRTCStatsRequest&) override {}
void GetStats(std::unique_ptr<WebRTCStatsReportCallback>) override {}
+ blink::WebVector<std::unique_ptr<blink::WebRTCRtpSender>> GetSenders()
+ override {
+ return blink::WebVector<std::unique_ptr<blink::WebRTCRtpSender>>();
+ }
blink::WebVector<std::unique_ptr<blink::WebRTCRtpReceiver>> GetReceivers()
override {
return blink::WebVector<std::unique_ptr<blink::WebRTCRtpReceiver>>();
« no previous file with comments | « third_party/WebKit/Source/platform/exported/WebRTCRtpSender.cpp ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698