| Index: webrtc/p2p/base/port.h
|
| diff --git a/webrtc/p2p/base/port.h b/webrtc/p2p/base/port.h
|
| index 7ec33bcd0b18169f22998026ee4bd19d37be8830..3e125c788fb78729ac165944575b3fc8e2a34af0 100644
|
| --- a/webrtc/p2p/base/port.h
|
| +++ b/webrtc/p2p/base/port.h
|
| @@ -306,6 +306,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,
|
| @@ -364,6 +366,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_;
|
|
|