Home
last modified time | relevance | path

Searched refs:connect_data (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/net/spdy/
Dspdy_stream_unittest.cc144 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() local
145 data.set_connect_data(connect_data); in TEST_P()
184 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() local
185 data.set_connect_data(connect_data); in TEST_P()
262 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() local
263 data.set_connect_data(connect_data); in TEST_P()
344 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() local
345 data.set_connect_data(connect_data); in TEST_P()
405 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() local
406 data.set_connect_data(connect_data); in TEST_P()
[all …]
Dspdy_session_unittest.cc242 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() local
243 data.set_connect_data(connect_data); in TEST_P()
291 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() local
297 data.set_connect_data(connect_data); in TEST_P()
321 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() local
327 data.set_connect_data(connect_data); in TEST_P()
348 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() local
364 data.set_connect_data(connect_data); in TEST_P()
428 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() local
446 data.set_connect_data(connect_data); in TEST_P()
[all …]
Dspdy_session_pool_unittest.cc101 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() local
107 data.set_connect_data(connect_data); in TEST_P()
140 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() local
148 data.set_connect_data(connect_data); in TEST_P()
272 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() local
278 data.set_connect_data(connect_data); in TEST_P()
362 MockConnect connect_data(SYNCHRONOUS, OK); in RunIPPoolingTest() local
368 data.set_connect_data(connect_data); in RunIPPoolingTest()
512 MockConnect connect_data(SYNCHRONOUS, OK); in TEST_P() local
524 data.set_connect_data(connect_data); in TEST_P()
/external/chromium_org/net/socket/
Dsocket_test_util.cc848 peer_addr_ = data->connect_data().peer_addr; in MockTCPClientSocket()
919 if (data_->connect_data().mode == ASYNC) { in Connect()
920 if (data_->connect_data().result == ERR_IO_PENDING) in Connect()
923 RunCallbackAsync(callback, data_->connect_data().result); in Connect()
926 return data_->connect_data().result; in Connect()
1167 return helper_.data()->connect_data().result; in Connect()
1233 peer_addr_ = data->connect_data().peer_addr; in DeterministicMockTCPClientSocket()
1280 if (helper_.data()->connect_data().mode == ASYNC) { in Connect()
1281 RunCallbackAsync(callback, helper_.data()->connect_data().result); in Connect()
1284 return helper_.data()->connect_data().result; in Connect()
[all …]
Dsocket_test_util.h214 MockConnect connect_data() const { return connect_; } in connect_data() function
/external/chromium_org/extensions/browser/api/cast_channel/
Dcast_socket_unittest.cc89 explicit MockTCPSocket(const net::MockConnect& connect_data) : in MockTCPSocket() argument
91 connect_data_(connect_data), in MockTCPSocket()
291 net::MockConnect* connect_data = tcp_connect_data_[connect_index_].get(); in CreateTcpSocket() local
292 connect_data->peer_addr = ip_; in CreateTcpSocket()
293 return scoped_ptr<net::TCPClientSocket>(new MockTCPSocket(*connect_data)); in CreateTcpSocket()
299 net::MockConnect* connect_data = ssl_connect_data_[connect_index_].get(); in CreateSslSocket() local
300 connect_data->peer_addr = ip_; in CreateSslSocket()
305 ssl_data_->set_connect_data(*connect_data); in CreateSslSocket()
/external/chromium_org/net/websockets/
Dwebsocket_job_test.cc283 MockConnect connect_data(SYNCHRONOUS, OK); in MockHttpTransactionFactory() local
284 data_->set_connect_data(connect_data); in MockHttpTransactionFactory()