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

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

Issue 2706563003: Create the API that returns the RTCConfiguration of the PeerConnection.
Patch Set: rebaselining again 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..6392ed21d5745515c5d0acd72717731ce6487b77 100644
--- a/third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp
@@ -3,6 +3,7 @@
// found in LICENSE file.
#include "platform/testing/TestingPlatformSupport.h"
+#include "public/platform/WebRTCConfiguration.h"
#include "public/platform/WebRTCError.h"
#include "public/platform/WebRTCPeerConnectionHandler.h"
#include "public/platform/WebRTCSessionDescription.h"
@@ -72,6 +73,10 @@ class MockWebRTCPeerConnectionHandler : public WebRTCPeerConnectionHandler {
WebRTCErrorType setConfiguration(const WebRTCConfiguration&) override {
return WebRTCErrorType::kNone;
}
+ blink::WebRTCConfiguration getConfiguration() override {
+ blink::WebRTCConfiguration config;
+ return config;
dcheng 2017/03/09 21:36:54 Nit: return blink::WebRTCConfiguration()
zhihuang1 2017/03/10 03:20:43 Done.
+ }
bool addStream(const WebMediaStream&, const WebMediaConstraints&) override {
return true;
}

Powered by Google App Engine
This is Rietveld 408576698