Index: webrtc/p2p/base/turnport.h |
diff --git a/webrtc/p2p/base/turnport.h b/webrtc/p2p/base/turnport.h |
index 4d83806a37126f96fad74abc83f942d494b79630..9faf0644b028e8c4b757a31eac5c1b3d27c78bcb 100644 |
--- a/webrtc/p2p/base/turnport.h |
+++ b/webrtc/p2p/base/turnport.h |
@@ -151,6 +151,9 @@ class TurnPort : public Port { |
// Finds the turn entry with |address| and sets its channel id. |
// Returns true if the entry is found. |
bool SetEntryChannelId(const rtc::SocketAddress& address, int channel_id); |
+ // Visible for testing. |
+ // Shuts down the turn port, usually because of some fatal errors. |
+ void Close(); |
protected: |
TurnPort(rtc::Thread* thread, |
@@ -201,8 +204,6 @@ class TurnPort : public Port { |
} |
} |
- // Shuts down the turn port, usually because of some fatal errors. |
- void Close(); |
void OnTurnRefreshError(); |
bool SetAlternateServer(const rtc::SocketAddress& address); |
void ResolveTurnAddress(const rtc::SocketAddress& address); |