Index: webrtc/p2p/base/stunrequest.h |
diff --git a/webrtc/p2p/base/stunrequest.h b/webrtc/p2p/base/stunrequest.h |
index 15ea0c73b734adeaa678a763a54982ae23e68f4d..df4f4a8aab3a097c6bf0e09432519f8276565097 100644 |
--- a/webrtc/p2p/base/stunrequest.h |
+++ b/webrtc/p2p/base/stunrequest.h |
@@ -32,8 +32,10 @@ class StunRequestManager { |
void Send(StunRequest* request); |
void SendDelayed(StunRequest* request, int delay); |
- // Sends all pending requests right away. Only for testing. |
- void Flush(); |
+ // If |msg_type| is 0, sends all pending requests right away. |
+ // Otherwise, sends those that have a matching type right away. |
+ // Only for testing. |
pthatcher1
2016/01/05 00:10:03
Can you make a named constant for 0, like kAllRequ
honghaiz3
2016/01/05 04:47:39
Done.
|
+ void Flush(int msg_type); |
// Removes a stun request that was added previously. This will happen |
// automatically when a request succeeds, fails, or times out. |