Index: webrtc/p2p/client/basicportallocator.h |
diff --git a/webrtc/p2p/client/basicportallocator.h b/webrtc/p2p/client/basicportallocator.h |
index a27ff4c6274f66e9b783d45238eaf83cee6fbe9f..3d6c81eae3510ab7952bfdedf92ff3a8f7e61a84 100644 |
--- a/webrtc/p2p/client/basicportallocator.h |
+++ b/webrtc/p2p/client/basicportallocator.h |
@@ -182,6 +182,7 @@ class BasicPortAllocatorSession : public PortAllocatorSession, |
void MaybeSignalCandidatesAllocationDone(); |
void OnPortAllocationComplete(AllocationSequence* seq); |
PortData* FindPort(Port* port); |
+ void GetNetworks(std::vector<rtc::Network*>* networks); |
bool CheckCandidateFilter(const Candidate& c); |
@@ -260,8 +261,10 @@ class AllocationSequence : public rtc::MessageHandler, |
~AllocationSequence(); |
bool Init(); |
void Clear(); |
+ void RemoveNetwork(); |
State state() const { return state_; } |
+ const rtc::Network* network() const { return network_; } |
// Disables the phases for a new sequence that this one already covers for an |
// equivalent network setup. |