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

  /external/chromium_org/net/websockets/
websocket_test_util.cc 92 scoped_ptr<DeterministicSocketData> socket_data(
94 socket_data->set_connect_data(MockConnect(SYNCHRONOUS, OK));
95 socket_data->SetStop(2);
96 SetRawExpectations(socket_data.Pass());
100 scoped_ptr<DeterministicSocketData> socket_data) {
101 detail_->data = socket_data.Pass();
113 scoped_ptr<DeterministicSocketData> socket_data) {
114 maker_.SetRawExpectations(socket_data.Pass());
websocket_stream_test.cc 84 scoped_ptr<DeterministicSocketData> socket_data) {
85 url_request_context_host_.SetRawExpectations(socket_data.Pass());
437 scoped_ptr<DeterministicSocketData> socket_data(
439 socket_data->set_connect_data(
442 "http://localhost/", socket_data.Pass());
449 scoped_ptr<DeterministicSocketData> socket_data(
451 socket_data->set_connect_data(
454 "http://localhost/", socket_data.Pass());
461 scoped_ptr<DeterministicSocketData> socket_data(
463 socket_data->set_connect_data(MockConnect(SYNCHRONOUS, ERR_IO_PENDING))
    [all...]
websocket_test_util.h 72 void SetRawExpectations(scoped_ptr<DeterministicSocketData> socket_data);
97 void SetRawExpectations(scoped_ptr<DeterministicSocketData> socket_data);
  /external/chromium_org/net/quic/
quic_stream_factory_test.cc 181 DeterministicSocketData socket_data(reads, arraysize(reads), NULL, 0);
182 socket_factory_.AddSocketDataProvider(&socket_data);
183 socket_data.StopAfter(1);
207 EXPECT_TRUE(socket_data.at_read_eof());
208 EXPECT_TRUE(socket_data.at_write_eof());
213 DeterministicSocketData socket_data(NULL, 0, NULL, 0);
214 socket_data.set_connect_data(connect);
215 socket_factory_.AddSocketDataProvider(&socket_data);
216 socket_data.StopAfter(1);
230 DeterministicSocketData socket_data(reads, arraysize(reads), NULL, 0)
    [all...]
  /external/chromium/net/socket/
socks_client_socket_pool_unittest.cc 129 scoped_ptr<SocketDataProvider> socket_data(new StaticSocketDataProvider());
130 socket_data->set_connect_data(MockConnect(false, ERR_CONNECTION_REFUSED));
131 transport_client_socket_factory_.AddSocketDataProvider(socket_data.get());
142 scoped_ptr<SocketDataProvider> socket_data(new StaticSocketDataProvider());
143 socket_data->set_connect_data(MockConnect(true, ERR_CONNECTION_REFUSED));
144 transport_client_socket_factory_.AddSocketDataProvider(socket_data.get());
163 scoped_ptr<SocketDataProvider> socket_data(new StaticSocketDataProvider(
165 socket_data->set_connect_data(MockConnect(false, 0));
166 transport_client_socket_factory_.AddSocketDataProvider(socket_data.get());
182 scoped_ptr<SocketDataProvider> socket_data(new StaticSocketDataProvider
    [all...]
  /external/chromium_org/net/url_request/
url_request_ftp_job_unittest.cc 229 DeterministicSocketData* socket_data = new DeterministicSocketData( local
231 socket_data->set_connect_data(MockConnect(SYNCHRONOUS, OK));
232 socket_data->StopAfter(reads_size + writes_size - 1);
233 socket_factory_.AddSocketDataProvider(socket_data);
235 socket_data_.push_back(socket_data);
240 DeterministicSocketData* socket_data(size_t index) { function in class:net::__anon9586::URLRequestFtpJobTest
274 socket_data(0)->RunFor(4);
327 socket_data(0)->RunFor(5);
371 socket_data(0)->RunFor(9);
404 socket_data(0)->RunFor(5)
    [all...]
  /external/chromium_org/net/http/
http_stream_factory_impl_unittest.cc 647 StaticSocketDataProvider socket_data; local
648 socket_data.set_connect_data(MockConnect(ASYNC, OK));
649 session_deps.socket_factory->AddSocketDataProvider(&socket_data);
701 StaticSocketDataProvider socket_data; local
702 socket_data.set_connect_data(MockConnect(ASYNC, OK));
703 session_deps.socket_factory->AddSocketDataProvider(&socket_data);
754 StaticSocketDataProvider socket_data; local
755 socket_data.set_connect_data(MockConnect(ASYNC, OK));
756 session_deps.socket_factory->AddSocketDataProvider(&socket_data);
781 StaticSocketDataProvider socket_data; local
875 StaticSocketDataProvider socket_data; local
927 StaticSocketDataProvider socket_data; local
    [all...]
  /external/chromium_org/net/socket/
socks_client_socket_pool_unittest.cc 201 StaticSocketDataProvider socket_data; local
202 socket_data.set_connect_data(MockConnect(SYNCHRONOUS,
204 transport_client_socket_factory_.AddSocketDataProvider(&socket_data);
215 StaticSocketDataProvider socket_data; local
216 socket_data.set_connect_data(MockConnect(ASYNC, ERR_CONNECTION_REFUSED));
217 transport_client_socket_factory_.AddSocketDataProvider(&socket_data);
236 StaticSocketDataProvider socket_data(
238 socket_data.set_connect_data(MockConnect(SYNCHRONOUS, OK));
239 transport_client_socket_factory_.AddSocketDataProvider(&socket_data);
255 StaticSocketDataProvider socket_data(
    [all...]

Completed in 76 milliseconds