Searched refs:FakePortAllocatorSession (Results 1 – 3 of 3) sorted by relevance
49 std::unique_ptr<cricket::FakePortAllocatorSession> CreateSession( in CreateSession()54 return std::unique_ptr<cricket::FakePortAllocatorSession>( in CreateSession()55 static_cast<cricket::FakePortAllocatorSession*>( in CreateSession()61 const cricket::FakePortAllocatorSession* GetPooledSession() const { in GetPooledSession()62 return static_cast<const cricket::FakePortAllocatorSession*>( in GetPooledSession()66 std::unique_ptr<cricket::FakePortAllocatorSession> TakePooledSession() { in TakePooledSession()67 return std::unique_ptr<cricket::FakePortAllocatorSession>( in TakePooledSession()68 static_cast<cricket::FakePortAllocatorSession*>( in TakePooledSession()250 std::unique_ptr<cricket::FakePortAllocatorSession> session( in TEST_F()251 static_cast<cricket::FakePortAllocatorSession*>( in TEST_F()
76 class FakePortAllocatorSession : public PortAllocatorSession {78 FakePortAllocatorSession(PortAllocator* allocator, in FakePortAllocatorSession() function123 this, &FakePortAllocatorSession::OnPortDestroyed); in StartGettingPorts()174 &FakePortAllocatorSession::OnPortComplete); in AddPort()237 return new FakePortAllocatorSession(this, network_thread_, factory_, in CreateSessionInternal()
1335 const cricket::FakePortAllocatorSession* session = in TEST_P()1336 static_cast<const cricket::FakePortAllocatorSession*>( in TEST_P()2497 const cricket::FakePortAllocatorSession* session = in TEST_P()2498 static_cast<const cricket::FakePortAllocatorSession*>( in TEST_P()