HomeSort by relevance Sort by last modified time
    Searched refs:tcp_sock_ (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/net/socket/
socks_client_socket_unittest.cc 44 StreamSocket* tcp_sock_; member in class:net::SOCKSClientSocketTest
72 tcp_sock_ = new MockTCPClientSocket(address_list_, net_log, data_.get());
74 int rv = tcp_sock_->Connect(callback.callback());
78 EXPECT_TRUE(tcp_sock_->IsConnected());
81 // |connection| takes ownership of |tcp_sock_|, but keep a
83 connection->SetSocket(scoped_ptr<StreamSocket>(tcp_sock_));
155 EXPECT_TRUE(tcp_sock_->IsConnected());
191 EXPECT_FALSE(tcp_sock_->IsConnected());
241 EXPECT_TRUE(tcp_sock_->IsConnected());
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());

Completed in 86 milliseconds