summaryrefslogtreecommitdiff
path: root/p2p/client/basicportallocator.h
diff options
context:
space:
mode:
authorPrimiano Tucci <primiano@google.com>2014-09-30 14:46:33 +0100
committerPrimiano Tucci <primiano@google.com>2014-09-30 14:46:33 +0100
commitda0509e3087cc5ee9adc0fe1abb85112ea6529a5 (patch)
tree532416c2f3025131e902ab655f3d404945485a6b /p2p/client/basicportallocator.h
parent67bbc8e3efef31646fec91b0b422a78708a3f4aa (diff)
parent6fd722a3e5cdf933ad206ec7cd697ce95a5630cd (diff)
downloadtalk-da0509e3087cc5ee9adc0fe1abb85112ea6529a5.tar.gz
This commit was generated by merge_to_master.py. Change-Id: I3cccc8f04ad0036aecdb7eefe316a059ebcefaf9
Diffstat (limited to 'p2p/client/basicportallocator.h')
-rw-r--r--p2p/client/basicportallocator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/p2p/client/basicportallocator.h b/p2p/client/basicportallocator.h
index 5f43880..d424772 100644
--- a/p2p/client/basicportallocator.h
+++ b/p2p/client/basicportallocator.h
@@ -160,7 +160,6 @@ class BasicPortAllocatorSession : public PortAllocatorSession,
void set_ready() { ASSERT(state_ == STATE_INIT); state_ = STATE_READY; }
void set_complete() {
- ASSERT(state_ == STATE_READY);
state_ = STATE_COMPLETE;
}
void set_error() {
@@ -201,6 +200,8 @@ class BasicPortAllocatorSession : public PortAllocatorSession,
void OnPortAllocationComplete(AllocationSequence* seq);
PortData* FindPort(Port* port);
+ bool CheckCandidateFilter(const Candidate& c);
+
BasicPortAllocator* allocator_;
rtc::Thread* network_thread_;
rtc::scoped_ptr<rtc::PacketSocketFactory> owned_socket_factory_;