Searched refs:websocket_ (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/content/renderer/pepper/ |
D | pepper_websocket_host.cc | 78 if (websocket_) in ~PepperWebSocketHost() 79 websocket_->disconnect(); in ~PepperWebSocketHost() 102 if (websocket_) in didConnect() 103 protocol = websocket_->subprotocol().utf8(); in didConnect() 197 if (websocket_) in didClose() 198 websocket_->disconnect(); in didClose() 260 websocket_.reset(WebSocket::create(document, this)); in OnHostMsgConnect() 261 DCHECK(websocket_.get()); in OnHostMsgConnect() 262 if (!websocket_) in OnHostMsgConnect() 266 websocket_->setBinaryType(WebSocket::BinaryTypeArrayBuffer); in OnHostMsgConnect() [all …]
|
D | pepper_websocket_host.h | 93 scoped_ptr<blink::WebSocket> websocket_; variable
|
/external/chromium_org/native_client_sdk/src/examples/api/websocket/ |
D | websocket.cc | 18 : pp::Instance(instance), websocket_(NULL) {} in WebSocketInstance() 39 pp::WebSocket* websocket_; member in WebSocketInstance 92 if (!websocket_) in IsConnected() 94 if (websocket_->GetReadyState() != PP_WEBSOCKETREADYSTATE_OPEN) in IsConnected() 101 websocket_ = new pp::WebSocket(this); in Open() 102 if (!websocket_) in Open() 104 websocket_->Connect(pp::Var(url), NULL, 0, callback); in Open() 112 websocket_->Close( in Close() 125 websocket_->SendMessage(array_buffer); in SendAsBinary() 133 websocket_->SendMessage(pp::Var(message)); in SendAsText() [all …]
|
/external/chromium_org/net/websockets/ |
D | websocket_job_test.cc | 407 websocket_ = NULL; in TearDown() 411 EXPECT_TRUE(websocket_->SendData(kHandshakeRequestWithoutCookie, in DoSendRequest() 416 websocket_->SendData(kDataHello, kDataHelloLength); in DoSendData() 445 websocket_ = new WebSocketJob(delegate); in InitWebSocketJob() 448 socket_ = new MockSocketStream(url, websocket_.get(), context_.get(), in InitWebSocketJob() 465 socket_ = new SocketStream(url, websocket_.get(), context_.get(), NULL); in InitWebSocketJob() 472 websocket_->InitSocketStream(socket_.get()); in InitWebSocketJob() 479 websocket_->addresses_ = AddressList::CreateFromIPAddress(ip, 80); in InitWebSocketJob() 482 websocket_->state_ = WebSocketJob::CONNECTING; in SkipToConnecting() 483 ASSERT_TRUE(WebSocketThrottle::GetInstance()->PutInQueue(websocket_.get())); in SkipToConnecting() [all …]
|