Index: webrtc/p2p/base/testturnserver.h |
diff --git a/webrtc/p2p/base/testturnserver.h b/webrtc/p2p/base/testturnserver.h |
index 8660ae1ff27b5add65846ea50ac18e71b73ff765..3d6074dc9b51100829678adce7a771478e9b5c48 100644 |
--- a/webrtc/p2p/base/testturnserver.h |
+++ b/webrtc/p2p/base/testturnserver.h |
@@ -71,6 +71,10 @@ class TestTurnServer : public TurnAuthInterface { |
server_.set_redirect_hook(redirect_hook); |
} |
+ void set_enable_permission_checks(bool enable) { |
+ server_.set_enable_permission_checks(enable); |
+ } |
+ |
void AddInternalSocket(const rtc::SocketAddress& int_addr, |
ProtocolType proto) { |
rtc::Thread* thread = rtc::Thread::Current(); |