Lines Matching refs:socket_
78 DCHECK(!socket_.get());
82 DCHECK(socket_.get());
85 socket_->Connect();
115 return socket_->SendData(
135 socket_->Close();
142 socket_->RestartWithAuth(username, password);
153 if (socket_)
154 socket_->DetachDelegate();
155 socket_ = NULL;
247 socket_ = NULL;
281 if (socket_->context()->cookie_policy()) {
283 policy = socket_->context()->cookie_policy()->CanGetCookies(
292 if (socket_ && delegate_ && state_ == CONNECTING) {
297 if (socket_->context()->cookie_store()) {
301 socket_->context()->cookie_store()->GetCookiesWithOptions(
310 socket_->net_log()->AddEvent(
314 socket_->SendData(handshake_request.data(),
351 socket_->net_log()->AddEvent(
399 socket_, received_data.data(), received_data.size());
409 if (socket_->context()->cookie_policy()) {
411 policy = socket_->context()->cookie_policy()->CanSetCookie(
422 if (socket_ && delegate_ && state_ == CONNECTING) {
424 socket_->context()->cookie_store()) {
430 socket_->context()->cookie_store()->SetCookieWithOptions(
440 GURL url = socket_->url();
441 std::string scheme = socket_->is_secure() ? "https" : "http";
489 socket_->Close();
495 socket_->SendData(current_buffer_->data(), current_buffer_->BytesRemaining());