Index: webrtc/p2p/base/port.h |
diff --git a/webrtc/p2p/base/port.h b/webrtc/p2p/base/port.h |
index e72e9dcc31a11a85657c07d687b02971c194f62a..c850d31edc53ab68c89716aaaf3daa37a5f77e4d 100644 |
--- a/webrtc/p2p/base/port.h |
+++ b/webrtc/p2p/base/port.h |
@@ -293,9 +293,6 @@ class Port : public PortInterface, public rtc::MessageHandler, |
// Returns the index of the new local candidate. |
size_t AddPrflxCandidate(const Candidate& local); |
- void set_candidate_filter(uint32_t candidate_filter) { |
- candidate_filter_ = candidate_filter; |
- } |
int16_t network_cost() const { return network_cost_; } |
protected: |
@@ -349,8 +346,6 @@ class Port : public PortInterface, public rtc::MessageHandler, |
return rtc::DSCP_NO_CHANGE; |
} |
- uint32_t candidate_filter() { return candidate_filter_; } |
- |
private: |
void Construct(); |
// Called when one of our connections deletes itself. |
@@ -398,12 +393,6 @@ class Port : public PortInterface, public rtc::MessageHandler, |
std::string user_agent_; |
rtc::ProxyInfo proxy_; |
- // Candidate filter is pushed down to Port such that each Port could |
- // make its own decision on how to create candidates. For example, |
- // when IceTransportsType is set to relay, both RelayPort and |
- // TurnPort will hide raddr to avoid local address leakage. |
- uint32_t candidate_filter_; |
- |
// A virtual cost perceived by the user, usually based on the network type |
// (WiFi. vs. Cellular). It takes precedence over the priority when |
// comparing two connections. |