Chromium Code Reviews| Index: webrtc/p2p/base/portallocator.h |
| diff --git a/webrtc/p2p/base/portallocator.h b/webrtc/p2p/base/portallocator.h |
| index 7d2a59f278ccb307ce0266ef89f65234eb291768..d160176ee3855c325d1ac97c8e02cbb13d4cc6b8 100644 |
| --- a/webrtc/p2p/base/portallocator.h |
| +++ b/webrtc/p2p/base/portallocator.h |
| @@ -23,6 +23,10 @@ |
| #include "webrtc/base/sigslot.h" |
| #include "webrtc/base/thread.h" |
| +namespace rtc { |
| +class Network; |
| +} // namespace rtc |
| + |
| namespace cricket { |
| // PortAllocator is responsible for allocating Port types for a given |
| @@ -165,6 +169,8 @@ class PortAllocatorSession : public sigslot::has_slots<> { |
| virtual void ClearGettingPorts() = 0; |
| // Whether the process of getting ports has been stopped. |
| virtual bool IsGettingPorts() = 0; |
| + virtual void InactivateNetworksInExistingSequences( |
|
Taylor Brandstetter
2016/06/06 18:18:37
Should probably be "Deactivate".
honghaiz3
2016/06/07 16:42:06
I looked it up in the online dictionary and google
Taylor Brandstetter
2016/06/07 17:13:26
Acknowledged.
|
| + std::vector<rtc::Network*>* networks) {} |
| // Another way of getting the information provided by the signals below. |
| // |
| @@ -263,6 +269,8 @@ class PortAllocator : public sigslot::has_slots<> { |
| // loopback interfaces. |
| virtual void SetNetworkIgnoreMask(int network_ignore_mask) = 0; |
| + virtual void GetNetworks(std::vector<rtc::Network*>* networks) const = 0; |
| + |
| std::unique_ptr<PortAllocatorSession> CreateSession( |
| const std::string& sid, |
| const std::string& content_name, |