Index: webrtc/p2p/base/portallocator.h |
diff --git a/webrtc/p2p/base/portallocator.h b/webrtc/p2p/base/portallocator.h |
index 9b4465d3de816b522bb93d55130e8e1d61bf9253..6a32b9668f882ddc245f4f2af9bc3683ced930a4 100644 |
--- a/webrtc/p2p/base/portallocator.h |
+++ b/webrtc/p2p/base/portallocator.h |
@@ -178,11 +178,6 @@ |
sigslot::signal2<PortAllocatorSession*, |
const std::vector<Candidate>&> SignalCandidatesReady; |
sigslot::signal1<PortAllocatorSession*> SignalCandidatesAllocationDone; |
- // A TURN port is pruned if a higher-priority TURN port becomes ready |
- // (pairable). When it is pruned, it will not be used for creating |
- // connections and its candidates will not be sent to the remote side |
- // if they have not been sent. |
- sigslot::signal2<PortAllocatorSession*, PortInterface*> SignalPortPruned; |
virtual uint32_t generation() { return generation_; } |
virtual void set_generation(uint32_t generation) { generation_ = generation; } |
@@ -258,8 +253,7 @@ |
// pooled sessions will be either created or destroyed as necessary. |
void SetConfiguration(const ServerAddresses& stun_servers, |
const std::vector<RelayServerConfig>& turn_servers, |
- int candidate_pool_size, |
- bool prune_turn_ports); |
+ int candidate_pool_size); |
const ServerAddresses& stun_servers() const { return stun_servers_; } |
@@ -332,8 +326,6 @@ |
void set_candidate_filter(uint32_t filter) { |
candidate_filter_ = filter; |
} |
- |
- bool prune_turn_ports() const { return prune_turn_ports_; } |
// Gets/Sets the Origin value used for WebRTC STUN requests. |
const std::string& origin() const { return origin_; } |
@@ -365,7 +357,6 @@ |
// both owned by this class and taken by TakePooledSession. |
int allocated_pooled_session_count_ = 0; |
std::deque<std::unique_ptr<PortAllocatorSession>> pooled_sessions_; |
- bool prune_turn_ports_ = false; |
}; |
} // namespace cricket |