Hi, 2009/6/25 Hironori Bono (坊野 博典) <hb...@chromium.org>
> Hi Ukai-san, > > > ViewHostMsg_WebSocket*: IPC messages sent from renderer to browser. > > ViewHostMsg_WebSocketOpen: open a new Web Socket. called by > WebSocketHandle::connect(). > > int request_id // idenfity WebSocket object {GURL url, std::wstring > protocol, std::wstring origin, bool secure, [...]} > > ViewHostMsg_WebSocketSend: trasmit a frame containing data over the Web > Socket connection. called by WebSocketHandle::send(). > > int request_id // Identify WebSocket object > > std::vector<unsigned char> data > > ViewHostMsg_WebSocketDisconnect: disconnect the Web Socket connection. > called by WebSocketHandle destructor. > > int request_id // Identify WebSocket object > > ViewMsg_WebSocket*: IPC messages sent from browser to renderer. > > ViewMsg_WebSocketConnect: New Web Socket connection is established. will > call WebSocketHandle::client()->didConnect(). > > int request_id // Identify WebSocket object > > ViewMsg_WebSocketRecv: a frame containing data is received on the Web > Socket connection. will add data into > WebSocketHandle::bufferedData(). > Process all complete Web Socket frames, call > WebSocketHandle::client()->didReceive(). > > int request_id // Identify WebSocket object > > std::vector<unsigned char> data > > ViewMsg_WebSocketClose: the Web Socket connection is closed (on the other > side). will call WebSocketHandle::client()->didClose(). > > int request_id // Identify WebSocket object > > I'm a little wondering whether these messages are async messages or > sync ones. Is it possible to add notes about their message types? Yes. I think all of these messages are "routed" and async messages. Thanks for pointing it out. -- ukai > > > Regards, > > Hironori Bono > E-mail: hb...@chromium.org > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---