Home
last modified time | relevance | path

Searched refs:WebSocketEndpointLockManager (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/net/socket/
Dwebsocket_endpoint_lock_manager.cc15 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 …]
Dwebsocket_endpoint_lock_manager.h22 class NET_EXPORT_PRIVATE WebSocketEndpointLockManager {
32 static WebSocketEndpointLockManager* GetInstance();
97 WebSocketEndpointLockManager();
98 ~WebSocketEndpointLockManager();
114 friend struct DefaultSingletonTraits<WebSocketEndpointLockManager>;
116 DISALLOW_COPY_AND_ASSIGN(WebSocketEndpointLockManager);
Dwebsocket_transport_connect_sub_job.cc33 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()
Dwebsocket_endpoint_lock_manager_unittest.cc83 class FakeWaiter : public WebSocketEndpointLockManager::Waiter {
101 : instance_(WebSocketEndpointLockManager::GetInstance()) {} in WebSocketEndpointLockManagerTest()
107 WebSocketEndpointLockManager* instance() const { return instance_; } in instance()
121 WebSocketEndpointLockManager* const instance_;
Dwebsocket_transport_client_socket_pool.h31 class WebSocketEndpointLockManager; variable
73 friend class WebSocketEndpointLockManager; variable
Dwebsocket_transport_connect_sub_job.h28 : public WebSocketEndpointLockManager::Waiter {
Dwebsocket_transport_client_socket_pool.cc267 WebSocketEndpointLockManager::GetInstance()->UnlockEndpoint(address); in UnlockEndpoint()
382 WebSocketEndpointLockManager::GetInstance()->UnlockSocket(socket.get()); in ReleaseSocket()
476 WebSocketEndpointLockManager::GetInstance()->UnlockSocket(socket.get()); in OnConnectJobComplete()
Dwebsocket_transport_client_socket_pool_unittest.cc72 EXPECT_TRUE(WebSocketEndpointLockManager::GetInstance()->IsEmpty()); in ~WebSocketTransportClientSocketPoolTest()