socks5_client_socket_unittest.cc | 52 StreamSocket* tcp_sock_; member in class:net::__anon13546::SOCKS5ClientSocketTest 95 tcp_sock_ = new MockTCPClientSocket(address_list_, net_log, data_.get()); 97 int rv = tcp_sock_->Connect(callback.callback()); 101 EXPECT_TRUE(tcp_sock_->IsConnected()); 104 // |connection| takes ownership of |tcp_sock_|, but keep a 106 connection->SetSocket(scoped_ptr<StreamSocket>(tcp_sock_)); 142 EXPECT_TRUE(tcp_sock_->IsConnected()); 180 EXPECT_FALSE(tcp_sock_->IsConnected());
|