Index: webrtc/p2p/base/turnport.h |
diff --git a/webrtc/p2p/base/turnport.h b/webrtc/p2p/base/turnport.h |
index 3bca727346a7e2d776a3e3d30de7609435dabd19..3a1b4320e43b99f887d8351690114c900381254d 100644 |
--- a/webrtc/p2p/base/turnport.h |
+++ b/webrtc/p2p/base/turnport.h |
@@ -132,6 +132,8 @@ class TurnPort : public Port { |
// This signal is only for testing purpose. |
sigslot::signal3<TurnPort*, const rtc::SocketAddress&, int> |
SignalCreatePermissionResult; |
+ // For testing only. |
+ void FlushRequests() { request_manager_.Flush(); } |
protected: |
TurnPort(rtc::Thread* thread, |