Searched refs:WebSocketEndpointLockManager (Results 1 – 8 of 8) sorted by relevance
15 WebSocketEndpointLockManager::Waiter::~Waiter() { in ~Waiter()22 WebSocketEndpointLockManager* WebSocketEndpointLockManager::GetInstance() { in GetInstance()23 return Singleton<WebSocketEndpointLockManager>::get(); in GetInstance()26 int WebSocketEndpointLockManager::LockEndpoint(const IPEndPoint& endpoint, in LockEndpoint()42 void WebSocketEndpointLockManager::RememberSocket(StreamSocket* socket, in RememberSocket()57 void WebSocketEndpointLockManager::UnlockSocket(StreamSocket* socket) { in UnlockSocket()73 void WebSocketEndpointLockManager::UnlockEndpoint(const IPEndPoint& endpoint) { in UnlockEndpoint()81 bool WebSocketEndpointLockManager::IsEmpty() const { in IsEmpty()85 WebSocketEndpointLockManager::LockInfo::LockInfo() : socket(NULL) {} in LockInfo()86 WebSocketEndpointLockManager::LockInfo::~LockInfo() { in ~LockInfo()[all …]
22 class NET_EXPORT_PRIVATE WebSocketEndpointLockManager {32 static WebSocketEndpointLockManager* GetInstance();97 WebSocketEndpointLockManager();98 ~WebSocketEndpointLockManager();114 friend struct DefaultSingletonTraits<WebSocketEndpointLockManager>;116 DISALLOW_COPY_AND_ASSIGN(WebSocketEndpointLockManager);
33 WebSocketEndpointLockManager::GetInstance()->UnlockEndpoint( in ~WebSocketTransportConnectSubJob()123 int rv = WebSocketEndpointLockManager::GetInstance()->LockEndpoint( in DoEndpointLock()149 WebSocketEndpointLockManager* endpoint_lock_manager = in DoTransportConnectComplete()150 WebSocketEndpointLockManager::GetInstance(); in DoTransportConnectComplete()
83 class FakeWaiter : public WebSocketEndpointLockManager::Waiter {101 : instance_(WebSocketEndpointLockManager::GetInstance()) {} in WebSocketEndpointLockManagerTest()107 WebSocketEndpointLockManager* instance() const { return instance_; } in instance()121 WebSocketEndpointLockManager* const instance_;
31 class WebSocketEndpointLockManager; variable73 friend class WebSocketEndpointLockManager; variable
28 : public WebSocketEndpointLockManager::Waiter {
267 WebSocketEndpointLockManager::GetInstance()->UnlockEndpoint(address); in UnlockEndpoint()382 WebSocketEndpointLockManager::GetInstance()->UnlockSocket(socket.get()); in ReleaseSocket()476 WebSocketEndpointLockManager::GetInstance()->UnlockSocket(socket.get()); in OnConnectJobComplete()
72 EXPECT_TRUE(WebSocketEndpointLockManager::GetInstance()->IsEmpty()); in ~WebSocketTransportClientSocketPoolTest()