Home
last modified time | relevance | path

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

/external/chromium_org/content/child/
Dsocket_stream_dispatcher.cc35 : socket_id_(kNoSocketId), handle_(handle), delegate_(delegate) {} in IPCWebSocketStreamHandleBridge()
57 int socket_id_; member in content::IPCWebSocketStreamHandleBridge
78 DVLOG(1) << "Bridge (" << this << ", socket_id_=" << socket_id_ in ~IPCWebSocketStreamHandleBridge()
81 if (socket_id_ == kNoSocketId) in ~IPCWebSocketStreamHandleBridge()
84 ChildThread::current()->Send(new SocketStreamHostMsg_Close(socket_id_)); in ~IPCWebSocketStreamHandleBridge()
85 socket_id_ = kNoSocketId; in ~IPCWebSocketStreamHandleBridge()
91 DCHECK_EQ(socket_id_, kNoSocketId); in Connect()
95 socket_id_ = all_bridges.Get().Add(this); in Connect()
96 DCHECK_NE(socket_id_, kNoSocketId); in Connect()
106 new SocketStreamHostMsg_Connect(render_frame_id, url, socket_id_)); in Connect()
[all …]
/external/chromium_org/content/browser/renderer_host/
Dsocket_stream_host.cc20 explicit SocketStreamId(int socket_id) : socket_id_(socket_id) {} in SocketStreamId()
22 int socket_id() const { return socket_id_; } in socket_id()
25 int socket_id_; member in content::__anond2d0f7470111::SocketStreamId
38 socket_id_(socket_id) { in SocketStreamHost()
39 DCHECK_NE(socket_id_, kNoSocketId); in SocketStreamHost()
41 << " socket_id=" << socket_id_; in SocketStreamHost()
56 VLOG(1) << "SocketStreamHost destructed socket_id=" << socket_id_; in ~SocketStreamHost()
70 job_->SetUserData(kSocketIdKey, new SocketStreamId(socket_id_)); in Connect()
Dsocket_stream_host.h41 int socket_id() const { return socket_id_; } in socket_id()
72 int socket_id_; variable
/external/chromium_org/content/renderer/p2p/
Dsocket_client_impl.cc33 socket_id_(0), delegate_(NULL), in P2PSocketClientImpl()
67 socket_id_ = dispatcher_->RegisterClient(this); in DoInit()
69 type, socket_id_, local_address, remote_address)); in DoInit()
88 dispatcher_->SendP2PMessage(new P2PHostMsg_Send(socket_id_, address, data, in SendWithDscp()
110 dispatcher_->SendP2PMessage(new P2PHostMsg_SetOption(socket_id_, in SetOption()
129 dispatcher_->SendP2PMessage(new P2PHostMsg_DestroySocket(socket_id_)); in DoClose()
131 dispatcher_->UnregisterClient(socket_id_); in DoClose()
138 return socket_id_; in GetSocketID()
174 new_client->socket_id_ = dispatcher_->RegisterClient(new_client.get()); in OnIncomingTcpConnection()
179 socket_id_, address, new_client->socket_id_)); in OnIncomingTcpConnection()
Dsocket_client_impl.h113 int socket_id_; variable
/external/chromium_org/content/browser/renderer_host/pepper/
Dpepper_tcp_socket.cc48 socket_id_(socket_id), in PepperTCPSocket()
64 socket_id_(socket_id), in PepperTCPSocket()
295 socket_id_, in SendConnectACKError()
367 routing_id_, plugin_dispatcher_id_, socket_id_, error, std::string())); in SendReadACKError()
373 routing_id_, plugin_dispatcher_id_, socket_id_, error)); in SendWriteACKError()
390 socket_id_, in SendSSLHandshakeACK()
397 routing_id_, plugin_dispatcher_id_, socket_id_, result)); in SendSetOptionACK()
449 socket_id_, in OnConnectCompleted()
476 socket_id_, in OnReadCompleted()
482 routing_id_, plugin_dispatcher_id_, socket_id_, PP_OK, std::string())); in OnReadCompleted()
[all …]
/external/chromium_org/extensions/browser/api/socket/
Dsocket_api.cc180 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &socket_id_)); in Prepare()
184 void SocketDestroyFunction::Work() { RemoveSocket(socket_id_); } in Work()
187 : socket_id_(0), hostname_(), port_(0), socket_(NULL) {} in SocketConnectFunction()
192 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &socket_id_)); in Prepare()
199 socket_ = GetSocket(socket_id_); in AsyncWorkStart()
256 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &socket_id_)); in Prepare()
261 Socket* socket = GetSocket(socket_id_); in Work()
270 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &socket_id_)); in Prepare()
278 Socket* socket = GetSocket(socket_id_); in Work()
413 : socket_id_(0), io_buffer_(NULL), io_buffer_size_(0) {} in SocketWriteFunction()
[all …]
Dsocket_api.h181 int socket_id_;
204 int socket_id_; variable
222 int socket_id_;
237 int socket_id_;
311 int socket_id_;
357 int socket_id_; variable