Chromium Code Reviews| 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; |
| } |