Searched refs:tcp_sock_ (Results 1 – 2 of 2) sorted by relevance
45 StreamSocket* tcp_sock_; member in net::SOCKSClientSocketTest73 tcp_sock_ = new MockTCPClientSocket(address_list_, net_log, data_.get()); in BuildMockSocket()75 int rv = tcp_sock_->Connect(callback.callback()); in BuildMockSocket()79 EXPECT_TRUE(tcp_sock_->IsConnected()); in BuildMockSocket()84 connection->SetSocket(scoped_ptr<StreamSocket>(tcp_sock_)); in BuildMockSocket()156 EXPECT_TRUE(tcp_sock_->IsConnected()); in TEST_F()192 EXPECT_FALSE(tcp_sock_->IsConnected()); in TEST_F()242 EXPECT_TRUE(tcp_sock_->IsConnected()); in TEST_F()
52 StreamSocket* tcp_sock_; member in net::__anon09c0f9a10111::SOCKS5ClientSocketTest95 tcp_sock_ = new MockTCPClientSocket(address_list_, net_log, data_.get()); in BuildMockSocket()97 int rv = tcp_sock_->Connect(callback.callback()); in BuildMockSocket()101 EXPECT_TRUE(tcp_sock_->IsConnected()); in BuildMockSocket()106 connection->SetSocket(scoped_ptr<StreamSocket>(tcp_sock_)); in BuildMockSocket()142 EXPECT_TRUE(tcp_sock_->IsConnected()); in TEST_F()180 EXPECT_FALSE(tcp_sock_->IsConnected()); in TEST_F()