/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...] |
socket_test_util.cc | 130 MockConnect::MockConnect() : mode(ASYNC), result(OK) { 136 MockConnect::MockConnect(IoMode io_mode, int r) : mode(io_mode), result(r) { 142 MockConnect::MockConnect(IoMode io_mode, int r, IPEndPoint addr) : 148 MockConnect::~MockConnect() {} 311 const MockConnect& connect, int write_delay, MockRead* reads, 370 const MockConnect& connect [all...] |
ssl_client_socket_pool_unittest.cc | 703 data.set_connect_data(MockConnect(SYNCHRONOUS, ERR_CONNECTION_FAILED)); 721 data.set_connect_data(MockConnect(ASYNC, ERR_CONNECTION_FAILED)); 744 data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); 773 data.set_connect_data(MockConnect(SYNCHRONOUS, OK)); [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 | 350 net::MockConnect(net::SYNCHRONOUS, net::OK)); 539 net::MockConnect(net::ASYNC, net::OK)); 561 net::MockConnect(net::ASYNC, net::OK)); 576 net::MockConnect(net::ASYNC, net::ERR_TIMED_OUT)); 603 net::MockConnect(net::ASYNC, net::OK)); 918 net::MockConnect(net::ASYNC, net::ERR_CERT_COMMON_NAME_INVALID), [all...] |
/external/chromium_org/net/http/ |
http_stream_factory_impl_unittest.cc | 595 socket_data1.set_connect_data(MockConnect(ASYNC, ERR_ADDRESS_UNREACHABLE)); 600 socket_data2.set_connect_data(MockConnect(ASYNC, OK)); 633 socket_data.set_connect_data(MockConnect(ASYNC, OK)); 687 socket_data.set_connect_data(MockConnect(ASYNC, OK)); 740 socket_data.set_connect_data(MockConnect(ASYNC, OK)); 767 socket_data.set_connect_data(MockConnect(ASYNC, OK)); 814 socket_data.set_connect_data(MockConnect(ASYNC, OK)); 861 socket_data.set_connect_data(MockConnect(ASYNC, OK)); [all...] |
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)); 829 data.set_connect_data(MockConnect(SYNCHRONOUS, OK));
|
http_proxy_client_socket_pool_unittest.cc | 267 data_->set_connect_data(MockConnect(SYNCHRONOUS, OK)); 543 data_->set_connect_data(MockConnect(ASYNC, ERR_CONNECTION_CLOSED)); 562 data_->set_connect_data(MockConnect(ASYNC, OK)); 587 data_->set_connect_data(MockConnect(ASYNC, OK));
|
http_network_transaction_unittest.cc | [all...] |
/external/chromium_org/net/spdy/ |
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_unittest.cc | 242 MockConnect connect_data(SYNCHRONOUS, OK); 291 MockConnect connect_data(SYNCHRONOUS, OK); 321 MockConnect connect_data(SYNCHRONOUS, OK); 348 MockConnect connect_data(SYNCHRONOUS, OK); 428 MockConnect connect_data(SYNCHRONOUS, OK); 508 MockConnect connect_data(SYNCHRONOUS, OK); 616 MockConnect connect_data(SYNCHRONOUS, OK); 652 MockConnect connect_data(SYNCHRONOUS, OK); 716 MockConnect connect_data(SYNCHRONOUS, OK); 781 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/extensions/browser/api/cast_channel/ |
cast_socket_unittest.cc | 89 explicit MockTCPSocket(const net::MockConnect& connect_data) : 137 net::MockConnect connect_data_; 211 tcp_connect_data_[0].reset(new net::MockConnect(mode, result)); 214 ssl_connect_data_[0].reset(new net::MockConnect(mode, result)); 217 tcp_connect_data_[1].reset(new net::MockConnect(mode, result)); 220 ssl_connect_data_[1].reset(new net::MockConnect(mode, result)); 291 net::MockConnect* connect_data = tcp_connect_data_[connect_index_].get(); 299 net::MockConnect* connect_data = ssl_connect_data_[connect_index_].get(); 330 scoped_ptr<net::MockConnect> tcp_connect_data_[2]; 331 scoped_ptr<net::MockConnect> ssl_connect_data_[2] [all...] |
/external/chromium_org/net/websockets/ |
websocket_stream_test.cc | 62 // It always sets the connect data to MockConnect(SYNCHRONOUS, OK), so it cannot 73 socket_data->set_connect_data(MockConnect(SYNCHRONOUS, OK)); [all...] |
websocket_test_util.cc | 120 socket_data->set_connect_data(MockConnect(SYNCHRONOUS, OK));
|
websocket_basic_stream_test.cc | 125 socket_data_->set_connect_data(MockConnect(SYNCHRONOUS, OK)); [all...] |
websocket_job_test.cc | 283 MockConnect connect_data(SYNCHRONOUS, OK); [all...] |
/external/chromium_org/net/quic/ |
quic_network_transaction_unittest.cc | 302 MockConnect hanging_connect(SYNCHRONOUS, ERR_IO_PENDING); [all...] |
quic_stream_factory_test.cc | [all...] |
/external/chromium_org/net/url_request/ |
url_request_ftp_job_unittest.cc | 235 socket_data->set_connect_data(MockConnect(SYNCHRONOUS, OK));
|
/external/chromium_org/net/dns/ |
dns_transaction_unittest.cc | 119 provider_->set_connect_data(MockConnect(reads_[0].mode, OK)); [all...] |
/external/chromium_org/net/socket_stream/ |
socket_stream_unittest.cc | [all...] |