Index: webrtc/p2p/base/port.h |
diff --git a/webrtc/p2p/base/port.h b/webrtc/p2p/base/port.h |
index 937f3cd0284f058e12fc6a47848ac0ad8ec98204..e72e9dcc31a11a85657c07d687b02971c194f62a 100644 |
--- a/webrtc/p2p/base/port.h |
+++ b/webrtc/p2p/base/port.h |
@@ -304,6 +304,8 @@ class Port : public PortInterface, public rtc::MessageHandler, |
MSG_FIRST_AVAILABLE |
}; |
+ virtual void UpdateNetworkCost(); |
+ |
void set_type(const std::string& type) { type_ = type; } |
void AddAddress(const rtc::SocketAddress& address, |
@@ -362,6 +364,8 @@ class Port : public PortInterface, public rtc::MessageHandler, |
void OnNetworkInactive(const rtc::Network* network); |
+ void OnNetworkTypeChanged(const rtc::Network* network); |
+ |
rtc::Thread* thread_; |
rtc::PacketSocketFactory* factory_; |
std::string type_; |