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

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

Issue 2749703005: RTCRtpSender with track behind RuntimeEnabled flag (Closed)
Patch Set: Fix win-specific compile error. Created 3 years, 8 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/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 4f92a0847c919c5ab96b5ad4a192576f5ff3d8e1..9310f33a0c910e6dbdd20f5fc2aaa46aa8d48ac4 100644
--- a/third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp
@@ -7,6 +7,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"
@@ -79,6 +80,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>>();

Powered by Google App Engine
This is Rietveld 408576698