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

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

Issue 2759953003: Interface RTCRtpReceiver and RTCPeerConnection.getReceivers() added. (Closed)
Patch Set: DISALLOW_COPY_AND_ASSIGN Created 3 years, 9 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 1733f3b17dbd792b377320bcec103fa29fe0b09d..7f852adf85adcd5856efac5caa68abab28938728 100644
--- a/third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp
@@ -8,6 +8,7 @@
#include "public/platform/WebRTCSessionDescription.h"
#include "public/web/WebScriptSource.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include "third_party/WebKit/public/platform/WebRTCRtpReceiver.h"
#include "third_party/WebKit/public/platform/WebViewScheduler.h"
#include "web/WebLocalFrameImpl.h"
#include "web/WebViewImpl.h"
@@ -78,6 +79,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::WebRTCRtpReceiver>> getReceivers()
+ override {
+ return blink::WebVector<std::unique_ptr<blink::WebRTCRtpReceiver>>();
+ }
WebRTCDataChannelHandler* createDataChannel(
const WebString& label,
const WebRTCDataChannelInit&) override {
« no previous file with comments | « third_party/WebKit/Source/platform/exported/WebRTCRtpReceiver.cpp ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698