Lines Matching refs:SyncSocket
28 // Message class to pass a base::SyncSocket::Handle to another process. This
32 IPC_MESSAGE_CONTROL1(MsgClassSetHandle, base::SyncSocket::Handle)
47 const char kHelloString[] = "Hello, SyncSocket Client";
50 // The SyncSocket server listener class processes two sorts of
73 // the handle for the SyncSocket. This message sends a buffer
74 // on the SyncSocket and then sends a response to the client.
76 void OnMsgClassSetHandle(const base::SyncSocket::Handle handle) {
87 void SetHandle(base::SyncSocket::Handle handle) {
88 base::SyncSocket sync_socket(handle);
120 // The SyncSocket client listener only processes one sort of message,
127 void Init(base::SyncSocket* socket, IPC::Channel* chan) {
143 // string as was written on the SyncSocket. These are compared
159 base::SyncSocket* socket_;
175 base::SyncSocket pair[2];
176 base::SyncSocket::CreatePair(&pair[0], &pair[1]);
180 base::SyncSocket::Handle target_handle;
210 static void BlockingRead(base::SyncSocket* socket, char* buf,