/external/chromium_org/net/socket/ |
socks_client_socket_pool_unittest.cc | 131 data.data_provider()->set_connect_data(MockConnect(SYNCHRONOUS, OK)); 149 data.data_provider()->set_connect_data(MockConnect(SYNCHRONOUS, OK)); 168 data.data_provider()->set_connect_data(MockConnect(SYNCHRONOUS, OK)); 202 socket_data.set_connect_data(MockConnect(SYNCHRONOUS, 216 socket_data.set_connect_data(MockConnect(ASYNC, ERR_CONNECTION_REFUSED)); 238 socket_data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); 257 socket_data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); 309 data.data_provider()->set_connect_data(MockConnect(SYNCHRONOUS, OK)); 314 data2.data_provider()->set_connect_data(MockConnect(SYNCHRONOUS, OK));
|
socket_test_util.h | 60 struct MockConnect { 62 // Creates a MockConnect with |mode| ASYC, |result| OK, and 64 MockConnect(); 65 // Creates a MockConnect with the specified mode and result, with 67 MockConnect(IoMode io_mode, int r); 68 MockConnect(IoMode io_mode, int r, IPEndPoint addr); 69 ~MockConnect(); 214 MockConnect connect_data() const { return connect_; } 215 void set_connect_data(const MockConnect& connect) { connect_ = connect; } 218 MockConnect connect_ [all...] |
ssl_client_socket_pool_unittest.cc | 234 data.set_connect_data(MockConnect(SYNCHRONOUS, ERR_CONNECTION_FAILED)); 252 data.set_connect_data(MockConnect(ASYNC, ERR_CONNECTION_FAILED)); 275 data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); 304 data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); 508 data.set_connect_data(MockConnect(SYNCHRONOUS, ERR_CONNECTION_FAILED)); 527 data.set_connect_data(MockConnect(ASYNC, ERR_CONNECTION_FAILED)); 550 data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); 575 data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); 619 data.set_connect_data(MockConnect(SYNCHRONOUS, ERR_CONNECTION_FAILED)); 638 data.set_connect_data(MockConnect(ASYNC, ERR_CONNECTION_FAILED)) [all...] |
socket_test_util.cc | 129 MockConnect::MockConnect() : mode(ASYNC), result(OK) { 135 MockConnect::MockConnect(IoMode io_mode, int r) : mode(io_mode), result(r) { 141 MockConnect::MockConnect(IoMode io_mode, int r, IPEndPoint addr) : 147 MockConnect::~MockConnect() {} 308 const MockConnect& connect, int write_delay, MockRead* reads, 367 const MockConnect& connect [all...] |
deterministic_socket_data_unittest.cc | 57 MockConnect connect_data_;
|
/external/chromium_org/jingle/glue/ |
proxy_resolving_client_socket_unittest.cc | 79 net::MockConnect(net::ASYNC, net::ERR_ADDRESS_UNREACHABLE)); 92 socket_data2.set_connect_data(net::MockConnect(net::ASYNC, net::OK));
|
fake_ssl_client_socket_unittest.cc | 99 void SetData(const net::MockConnect& mock_connect, 134 net::MockConnect mock_connect(mode, net::OK); 196 net::MockConnect mock_connect(mode, net::OK);
|
chrome_async_socket_unittest.cc | 341 net::MockConnect(net::SYNCHRONOUS, net::OK)); 530 net::MockConnect(net::ASYNC, net::OK)); 552 net::MockConnect(net::ASYNC, net::OK)); 567 net::MockConnect(net::ASYNC, net::ERR_TIMED_OUT)); 594 net::MockConnect(net::ASYNC, net::OK)); 909 net::MockConnect(net::ASYNC, net::ERR_CERT_COMMON_NAME_INVALID), [all...] |
/external/chromium_org/net/http/ |
http_stream_factory_impl_unittest.cc | 592 socket_data1.set_connect_data(MockConnect(ASYNC, ERR_ADDRESS_UNREACHABLE)); 597 socket_data2.set_connect_data(MockConnect(ASYNC, OK)); 630 socket_data.set_connect_data(MockConnect(ASYNC, OK)); 684 socket_data.set_connect_data(MockConnect(ASYNC, OK)); 737 socket_data.set_connect_data(MockConnect(ASYNC, OK)); 764 socket_data.set_connect_data(MockConnect(ASYNC, OK)); 811 socket_data.set_connect_data(MockConnect(ASYNC, OK)); 858 socket_data.set_connect_data(MockConnect(ASYNC, OK)); [all...] |
http_proxy_client_socket_pool_unittest.cc | 183 data_->set_connect_data(MockConnect(SYNCHRONOUS, OK)); 455 data_->set_connect_data(MockConnect(ASYNC, ERR_CONNECTION_CLOSED)); 474 data_->set_connect_data(MockConnect(ASYNC, OK)); 499 data_->set_connect_data(MockConnect(ASYNC, OK));
|
http_stream_parser_unittest.cc | 227 data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); 381 data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); 450 data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); 522 data_->set_connect_data(MockConnect(SYNCHRONOUS, OK)); 828 data.set_connect_data(MockConnect(SYNCHRONOUS, OK));
|
http_network_transaction_unittest.cc | [all...] |
/external/chromium_org/net/spdy/ |
spdy_session_unittest.cc | 240 MockConnect connect_data(SYNCHRONOUS, OK); 289 MockConnect connect_data(SYNCHRONOUS, OK); 319 MockConnect connect_data(SYNCHRONOUS, OK); 346 MockConnect connect_data(SYNCHRONOUS, OK); 426 MockConnect connect_data(SYNCHRONOUS, OK); 506 MockConnect connect_data(SYNCHRONOUS, OK); 614 MockConnect connect_data(SYNCHRONOUS, OK); 650 MockConnect connect_data(SYNCHRONOUS, OK); 714 MockConnect connect_data(SYNCHRONOUS, OK); 779 MockConnect connect_data(SYNCHRONOUS, OK) [all...] |
spdy_stream_unittest.cc | 144 MockConnect connect_data(SYNCHRONOUS, OK); 184 MockConnect connect_data(SYNCHRONOUS, OK); 262 MockConnect connect_data(SYNCHRONOUS, OK); 344 MockConnect connect_data(SYNCHRONOUS, OK); 405 MockConnect connect_data(SYNCHRONOUS, OK); 463 MockConnect connect_data(SYNCHRONOUS, OK); 521 MockConnect connect_data(SYNCHRONOUS, OK); 596 MockConnect connect_data(SYNCHRONOUS, OK); 676 MockConnect connect_data(SYNCHRONOUS, OK); 745 MockConnect connect_data(SYNCHRONOUS, OK) [all...] |
spdy_session_pool_unittest.cc | 101 MockConnect connect_data(SYNCHRONOUS, OK); 140 MockConnect connect_data(SYNCHRONOUS, OK); 272 MockConnect connect_data(SYNCHRONOUS, OK); 362 MockConnect connect_data(SYNCHRONOUS, OK); 512 MockConnect connect_data(SYNCHRONOUS, OK);
|
/external/chromium_org/chrome/browser/extensions/api/cast_channel/ |
cast_socket_unittest.cc | 78 explicit MockTCPSocket(const net::MockConnect& connect_data) : 114 net::MockConnect connect_data_; 174 tcp_connect_data_[0].reset(new net::MockConnect(mode, result)); 177 ssl_connect_data_[0].reset(new net::MockConnect(mode, result)); 180 tcp_connect_data_[1].reset(new net::MockConnect(mode, result)); 183 ssl_connect_data_[1].reset(new net::MockConnect(mode, result)); 243 net::MockConnect* connect_data = tcp_connect_data_[connect_index_].get(); 250 net::MockConnect* connect_data = ssl_connect_data_[connect_index_].get(); 277 scoped_ptr<net::MockConnect> tcp_connect_data_[2]; 278 scoped_ptr<net::MockConnect> ssl_connect_data_[2] [all...] |
/external/chromium_org/net/websockets/ |
websocket_test_util.cc | 120 socket_data->set_connect_data(MockConnect(SYNCHRONOUS, OK));
|
websocket_stream_test.cc | [all...] |
websocket_basic_stream_test.cc | 125 socket_data_->set_connect_data(MockConnect(SYNCHRONOUS, OK)); [all...] |
websocket_job_test.cc | 281 MockConnect connect_data(SYNCHRONOUS, OK); [all...] |
/external/chromium_org/net/quic/ |
quic_network_transaction_unittest.cc | 300 MockConnect hanging_connect(SYNCHRONOUS, ERR_IO_PENDING); 808 http_data.set_connect_data(MockConnect(ASYNC, ERR_SOCKET_NOT_CONNECTED)); [all...] |
quic_stream_factory_test.cc | 753 MockConnect connect(SYNCHRONOUS, ERR_ADDRESS_IN_USE); [all...] |
/external/chromium_org/net/url_request/ |
url_request_ftp_job_unittest.cc | 234 socket_data->set_connect_data(MockConnect(SYNCHRONOUS, OK));
|
/external/chromium_org/net/dns/ |
dns_transaction_unittest.cc | 114 provider_->set_connect_data(MockConnect(reads_[0].mode, OK)); [all...] |
/external/chromium_org/net/socket_stream/ |
socket_stream_unittest.cc | [all...] |