Home
last modified time | relevance | path

Searched refs:MockConnectJob (Results 1 – 2 of 2) sorted by relevance

/external/cronet/net/socket/
Dsocket_test_util.h1170 class MockConnectJob {
1172 MockConnectJob(std::unique_ptr<StreamSocket> socket,
1178 MockConnectJob(const MockConnectJob&) = delete;
1179 MockConnectJob& operator=(const MockConnectJob&) = delete;
1181 ~MockConnectJob();
1216 const std::vector<std::unique_ptr<MockConnectJob>>& requests() const { in requests()
1247 std::vector<std::unique_ptr<MockConnectJob>> job_list_;
Dsocket_test_util.cc1851 MockTransportClientSocketPool::MockConnectJob::MockConnectJob( in MockConnectJob() function in net::MockTransportClientSocketPool::MockConnectJob
1863 MockTransportClientSocketPool::MockConnectJob::~MockConnectJob() = default;
1865 int MockTransportClientSocketPool::MockConnectJob::Connect() { in Connect()
1868 base::BindOnce(&MockConnectJob::OnConnect, base::Unretained(this))); in Connect()
1876 bool MockTransportClientSocketPool::MockConnectJob::CancelHandle( in CancelHandle()
1886 void MockTransportClientSocketPool::MockConnectJob::OnConnect(int rv) { in OnConnect()
1948 auto job = std::make_unique<MockConnectJob>( in RequestSocket()
1973 for (std::unique_ptr<MockConnectJob>& it : job_list_) { in CancelRequest()