Lines Matching refs:WebSocketResource
54 WebSocketResource::WebSocketResource(Connection connection,
71 WebSocketResource::~WebSocketResource() {
74 thunk::PPB_WebSocket_API* WebSocketResource::AsPPB_WebSocket_API() {
78 int32_t WebSocketResource::Connect(
124 base::Bind(&WebSocketResource::OnPluginMsgConnectReply, this));
129 int32_t WebSocketResource::Close(uint16_t code,
201 base::Bind(&WebSocketResource::OnPluginMsgCloseReply, this));
205 int32_t WebSocketResource::ReceiveMessage(
238 int32_t WebSocketResource::SendMessage(const PP_Var& message) {
293 uint64_t WebSocketResource::GetBufferedAmount() {
297 uint16_t WebSocketResource::GetCloseCode() {
301 PP_Var WebSocketResource::GetCloseReason() {
307 PP_Bool WebSocketResource::GetCloseWasClean() {
311 PP_Var WebSocketResource::GetExtensions() {
315 PP_Var WebSocketResource::GetProtocol() {
321 PP_WebSocketReadyState WebSocketResource::GetReadyState() {
325 PP_Var WebSocketResource::GetURL() {
331 void WebSocketResource::OnReplyReceived(
339 IPC_BEGIN_MESSAGE_MAP(WebSocketResource, msg)
362 void WebSocketResource::OnPluginMsgConnectReply(
380 void WebSocketResource::OnPluginMsgCloseReply(
407 void WebSocketResource::OnPluginMsgReceiveTextReply(
425 void WebSocketResource::OnPluginMsgReceiveBinaryReply(
447 void WebSocketResource::OnPluginMsgErrorReply(
462 void WebSocketResource::OnPluginMsgBufferedAmountReply(
468 void WebSocketResource::OnPluginMsgStateReply(
474 void WebSocketResource::OnPluginMsgClosedReply(
483 int32_t WebSocketResource::DoReceive() {