MockRead 202 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc void AddReadResult(const net::MockRead& read) { MockRead 206 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc AddReadResult(net::MockRead(mode, result)); MockRead 209 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc AddReadResult(net::MockRead(mode, data, data_len)); MockRead 275 chrome/browser/extensions/api/cast_channel/cast_socket_unittest.cc std::vector<net::MockRead> reads_; MockRead 84 chrome/browser/net/network_stats_unittest.cc net::MockRead(net::ASYNC, &inputs_[0][0], inputs_[0].size(), 1)); MockRead 98 chrome/browser/net/network_stats_unittest.cc mock_reads_.push_back(net::MockRead( MockRead 187 chrome/browser/net/network_stats_unittest.cc net::MockRead(io_mode, &inputs_[i][0], inputs_[i].size())); MockRead 248 chrome/browser/net/network_stats_unittest.cc std::vector<net::MockRead> mock_reads_; MockRead 19 google_apis/gcm/base/socket_stream_unittest.cc typedef std::vector<net::MockRead> ReadList; MockRead 198 google_apis/gcm/base/socket_stream_unittest.cc BuildSocket(ReadList(1, net::MockRead(net::SYNCHRONOUS, MockRead 214 google_apis/gcm/base/socket_stream_unittest.cc net::MockRead(net::SYNCHRONOUS, MockRead 218 google_apis/gcm/base/socket_stream_unittest.cc net::MockRead(net::SYNCHRONOUS, MockRead 234 google_apis/gcm/base/socket_stream_unittest.cc net::MockRead(net::SYNCHRONOUS, net::ERR_IO_PENDING)); MockRead 236 google_apis/gcm/base/socket_stream_unittest.cc net::MockRead(net::ASYNC, kReadData, first_read_len)); MockRead 238 google_apis/gcm/base/socket_stream_unittest.cc net::MockRead(net::ASYNC, &kReadData[first_read_len], second_read_len)); MockRead 254 google_apis/gcm/base/socket_stream_unittest.cc BuildSocket(ReadList(1, net::MockRead(net::SYNCHRONOUS, MockRead 273 google_apis/gcm/base/socket_stream_unittest.cc BuildSocket(ReadList(1, net::MockRead(net::SYNCHRONOUS, MockRead 291 google_apis/gcm/base/socket_stream_unittest.cc BuildSocket(ReadList(1, net::MockRead(net::SYNCHRONOUS, result)), MockRead 352 google_apis/gcm/base/socket_stream_unittest.cc BuildSocket(ReadList(1, net::MockRead(net::SYNCHRONOUS, MockRead 370 google_apis/gcm/base/socket_stream_unittest.cc BuildSocket(ReadList(1, net::MockRead(net::SYNCHRONOUS, MockRead 25 google_apis/gcm/engine/connection_handler_impl_unittest.cc typedef std::vector<net::MockRead> ReadList; MockRead 240 google_apis/gcm/engine/connection_handler_impl_unittest.cc ReadList read_list(1, net::MockRead(net::ASYNC, MockRead 265 google_apis/gcm/engine/connection_handler_impl_unittest.cc ReadList read_list(1, net::MockRead(net::ASYNC, MockRead 286 google_apis/gcm/engine/connection_handler_impl_unittest.cc ReadList read_list(1, net::MockRead(net::SYNCHRONOUS, MockRead 308 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, MockRead 311 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::SYNCHRONOUS, MockRead 330 google_apis/gcm/engine/connection_handler_impl_unittest.cc ReadList read_list(1, net::MockRead(net::SYNCHRONOUS, MockRead 344 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list[0] = net::MockRead(net::ASYNC, MockRead 370 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, MockRead 373 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, MockRead 403 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, MockRead 406 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::SYNCHRONOUS, MockRead 438 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, MockRead 441 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, MockRead 472 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, MockRead 475 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::SYNCHRONOUS, MockRead 508 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, MockRead 511 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, MockRead 514 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::SYNCHRONOUS, MockRead 516 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, MockRead 548 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, MockRead 551 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, MockRead 585 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, MockRead 588 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::SYNCHRONOUS, net::ERR_IO_PENDING)); MockRead 611 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::ASYNC, MockRead 614 google_apis/gcm/engine/connection_handler_impl_unittest.cc read_list.push_back(net::MockRead(net::SYNCHRONOUS, net::ERR_IO_PENDING)); MockRead 45 jingle/glue/chrome_async_socket_unittest.cc virtual net::MockRead GetNextRead() OVERRIDE { MockRead 49 jingle/glue/chrome_async_socket_unittest.cc const net::MockRead pending_read(net::SYNCHRONOUS, net::ERR_IO_PENDING); MockRead 52 jingle/glue/chrome_async_socket_unittest.cc net::MockRead mock_read = reads_.front(); MockRead 80 jingle/glue/chrome_async_socket_unittest.cc void AddRead(const net::MockRead& mock_read) { MockRead 96 jingle/glue/chrome_async_socket_unittest.cc std::deque<net::MockRead> reads_; MockRead 369 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kDummyData)); MockRead 624 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); MockRead 638 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); MockRead 649 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData2)); MockRead 660 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); MockRead 671 jingle/glue/chrome_async_socket_unittest.cc net::MockRead(net::SYNCHRONOUS, net::ERR_TIMED_OUT)); MockRead 680 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead("")); MockRead 693 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); MockRead 712 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead("")); MockRead 725 jingle/glue/chrome_async_socket_unittest.cc net::MockRead(net::ASYNC, net::ERR_TIMED_OUT)); MockRead 856 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); MockRead 872 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); MockRead 887 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); MockRead 911 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); MockRead 928 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); MockRead 937 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); MockRead 958 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); MockRead 1022 jingle/glue/chrome_async_socket_unittest.cc async_socket_data_provider_.AddRead(net::MockRead(kReadData)); MockRead 100 jingle/glue/fake_ssl_client_socket_unittest.cc std::vector<net::MockRead>* reads, MockRead 135 jingle/glue/fake_ssl_client_socket_unittest.cc std::vector<net::MockRead> reads; MockRead 144 jingle/glue/fake_ssl_client_socket_unittest.cc net::MockRead(mode, kReadTestData, arraysize(kReadTestData))); MockRead 197 jingle/glue/fake_ssl_client_socket_unittest.cc std::vector<net::MockRead> reads; MockRead 234 jingle/glue/fake_ssl_client_socket_unittest.cc reads.push_back(net::MockRead(mode, kDummyData)); MockRead 82 jingle/glue/proxy_resolving_client_socket_unittest.cc net::MockRead reads[] = { MockRead 83 jingle/glue/proxy_resolving_client_socket_unittest.cc net::MockRead("HTTP/1.1 200 Success\r\n\r\n") MockRead 67 net/dns/dns_transaction_unittest.cc reads_.push_back(MockRead(mode, MockRead 72 net/dns/dns_transaction_unittest.cc reads_.push_back(MockRead(mode, MockRead 110 net/dns/dns_transaction_unittest.cc reads_.push_back(MockRead(ASYNC, ERR_IO_PENDING)); MockRead 135 net/dns/dns_transaction_unittest.cc std::vector<MockRead> reads_; MockRead 817 net/ftp/ftp_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 820 net/ftp/ftp_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ), MockRead 821 net/ftp/ftp_network_transaction_unittest.cc MockRead(mock_data.c_str()), MockRead 1111 net/ftp/ftp_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 1112 net/ftp/ftp_network_transaction_unittest.cc MockRead(mock_data.c_str()), MockRead 1300 net/ftp/ftp_network_transaction_unittest.cc MockRead ctrl_reads[] = { MockRead 1301 net/ftp/ftp_network_transaction_unittest.cc MockRead("220 host TestFTPd\r\n"), MockRead 1302 net/ftp/ftp_network_transaction_unittest.cc MockRead("221 Goodbye!\r\n"), MockRead 1303 net/ftp/ftp_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 1334 net/ftp/ftp_network_transaction_unittest.cc MockRead ctrl_reads[] = { MockRead 1335 net/ftp/ftp_network_transaction_unittest.cc MockRead("220 host TestFTPd\r\n"), MockRead 1336 net/ftp/ftp_network_transaction_unittest.cc MockRead("331 User okay, send password\r\n"), MockRead 1337 net/ftp/ftp_network_transaction_unittest.cc MockRead("221 Goodbye!\r\n"), MockRead 1338 net/ftp/ftp_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 113 net/http/http_network_layer_unittest.cc MockRead data_reads[] = { MockRead 114 net/http/http_network_layer_unittest.cc MockRead("HTTP/1.1 200 OK\r\n" MockRead 116 net/http/http_network_layer_unittest.cc MockRead("Bypass message"), MockRead 117 net/http/http_network_layer_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 125 net/http/http_network_layer_unittest.cc MockRead data_reads[], MockRead 136 net/http/http_network_layer_unittest.cc MockRead data_reads[], MockRead 160 net/http/http_network_layer_unittest.cc MockRead data_reads2[3]; MockRead 162 net/http/http_network_layer_unittest.cc data_reads2[data_reads2_index++] = MockRead("HTTP/1.0 200 OK\r\n" MockRead 165 net/http/http_network_layer_unittest.cc data_reads2[data_reads2_index++] = MockRead(content.c_str()); MockRead 166 net/http/http_network_layer_unittest.cc data_reads2[data_reads2_index++] = MockRead(SYNCHRONOUS, OK); MockRead 193 net/http/http_network_layer_unittest.cc MockRead data_reads[] = { MockRead 194 net/http/http_network_layer_unittest.cc MockRead("HTTP/1.1 200 OK\r\n" MockRead 196 net/http/http_network_layer_unittest.cc MockRead("Bypass message"), MockRead 197 net/http/http_network_layer_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 209 net/http/http_network_layer_unittest.cc MockRead data_reads2[] = { MockRead 210 net/http/http_network_layer_unittest.cc MockRead("HTTP/1.0 200 OK\r\n" MockRead 212 net/http/http_network_layer_unittest.cc MockRead("content"), MockRead 213 net/http/http_network_layer_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 241 net/http/http_network_layer_unittest.cc MockRead data_reads[] = { MockRead 242 net/http/http_network_layer_unittest.cc MockRead("HTTP/1.1 200 OK\r\n" MockRead 244 net/http/http_network_layer_unittest.cc MockRead("Bypass message"), MockRead 245 net/http/http_network_layer_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 307 net/http/http_network_layer_unittest.cc MockRead data_reads[] = { MockRead 308 net/http/http_network_layer_unittest.cc MockRead("HTTP/1.0 200 OK\r\n\r\n"), MockRead 309 net/http/http_network_layer_unittest.cc MockRead("hello world"), MockRead 310 net/http/http_network_layer_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 418 net/http/http_network_layer_unittest.cc MockRead data_reads[] = { MockRead 419 net/http/http_network_layer_unittest.cc MockRead("HTTP/1.1 200 OK\r\n" MockRead 421 net/http/http_network_layer_unittest.cc MockRead("Bypass message"), MockRead 422 net/http/http_network_layer_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 502 net/http/http_network_layer_unittest.cc MockRead data_reads[] = { MockRead 503 net/http/http_network_layer_unittest.cc MockRead(headers[i].c_str()), MockRead 504 net/http/http_network_layer_unittest.cc MockRead("Bypass message"), MockRead 505 net/http/http_network_layer_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 519 net/http/http_network_layer_unittest.cc MockRead data_reads2[] = { MockRead 520 net/http/http_network_layer_unittest.cc MockRead("HTTP/1.0 200 OK\r\n" MockRead 522 net/http/http_network_layer_unittest.cc MockRead("content"), MockRead 523 net/http/http_network_layer_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 574 net/http/http_network_layer_unittest.cc MockRead data_reads[] = { MockRead 575 net/http/http_network_layer_unittest.cc MockRead("HTTP/1.1 200 OK\r\n" MockRead 577 net/http/http_network_layer_unittest.cc MockRead("Bypass message"), MockRead 578 net/http/http_network_layer_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 622 net/http/http_network_layer_unittest.cc MockRead data_reads[] = { MockRead 623 net/http/http_network_layer_unittest.cc MockRead("HTTP/1.1 200 OK\r\n" MockRead 627 net/http/http_network_layer_unittest.cc MockRead("Bypass message"), MockRead 628 net/http/http_network_layer_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 644 net/http/http_network_layer_unittest.cc MockRead data_reads[] = { MockRead 645 net/http/http_network_layer_unittest.cc MockRead("HTTP/1.1 200 OK\r\n" MockRead 648 net/http/http_network_layer_unittest.cc MockRead("Bypass message"), MockRead 649 net/http/http_network_layer_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 663 net/http/http_network_layer_unittest.cc MockRead data_reads[] = { MockRead 664 net/http/http_network_layer_unittest.cc MockRead("HTTP/1.1 200 OK\r\n" MockRead 666 net/http/http_network_layer_unittest.cc MockRead("Bypass message"), MockRead 667 net/http/http_network_layer_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 681 net/http/http_network_layer_unittest.cc MockRead data_reads[] = { MockRead 682 net/http/http_network_layer_unittest.cc MockRead("HTTP/1.1 304 Not Modified\r\n" MockRead 684 net/http/http_network_layer_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 699 net/http/http_network_layer_unittest.cc MockRead data_reads[] = { MockRead 700 net/http/http_network_layer_unittest.cc MockRead("HTTP/1.1 200 OK\r\n" MockRead 703 net/http/http_network_layer_unittest.cc MockRead("Bypass message"), MockRead 704 net/http/http_network_layer_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 720 net/http/http_network_layer_unittest.cc MockRead data_reads[] = { MockRead 721 net/http/http_network_layer_unittest.cc MockRead("HTTP/1.1 200 OK\r\n" MockRead 724 net/http/http_network_layer_unittest.cc MockRead("Bypass message"), MockRead 725 net/http/http_network_layer_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 744 net/http/http_network_layer_unittest.cc MockRead data_reads[] = { MockRead 745 net/http/http_network_layer_unittest.cc MockRead("HTTP/1.1 200 OK\r\n" MockRead 749 net/http/http_network_layer_unittest.cc MockRead("Bypass message"), MockRead 750 net/http/http_network_layer_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 762 net/http/http_network_layer_unittest.cc MockRead data_reads[] = { MockRead 763 net/http/http_network_layer_unittest.cc MockRead("HTTP/1.0 200 OK\r\n\r\n"), MockRead 764 net/http/http_network_layer_unittest.cc MockRead("hello world"), MockRead 765 net/http/http_network_layer_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 797 net/http/http_network_layer_unittest.cc MockRead data_reads[] = { MockRead 798 net/http/http_network_layer_unittest.cc MockRead(ASYNC, ERR_CONNECTION_RESET), MockRead 285 net/http/http_network_transaction_unittest.cc const MockRead* read_failure); MockRead 292 net/http/http_network_transaction_unittest.cc const MockRead* read_failure, MockRead 376 net/http/http_network_transaction_unittest.cc SimpleGetHelperResult SimpleGetHelper(MockRead data_reads[], MockRead 383 net/http/http_network_transaction_unittest.cc int64 ReadsSize(MockRead data_reads[], size_t reads_count) { MockRead 390 net/http/http_network_transaction_unittest.cc void ConnectStatusHelperWithExpectedStatus(const MockRead& status, MockRead 393 net/http/http_network_transaction_unittest.cc void ConnectStatusHelper(const MockRead& status); MockRead 620 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 621 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n\r\n"), MockRead 622 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 623 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 636 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 637 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 638 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 651 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 652 net/http/http_network_transaction_unittest.cc MockRead("xxxHTTP/1.0 404 Not Found\nServer: blah\n\nDATA"), MockRead 653 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 666 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 667 net/http/http_network_transaction_unittest.cc MockRead("\n\nQJHTTP/1.0 404 Not Found\nServer: blah\n\nDATA"), MockRead 668 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 681 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 682 net/http/http_network_transaction_unittest.cc MockRead("xxxxxHTTP/1.1 404 Not Found\nServer: blah"), MockRead 683 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 696 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 697 net/http/http_network_transaction_unittest.cc MockRead("\n"), MockRead 698 net/http/http_network_transaction_unittest.cc MockRead("\n"), MockRead 699 net/http/http_network_transaction_unittest.cc MockRead("Q"), MockRead 700 net/http/http_network_transaction_unittest.cc MockRead("J"), MockRead 701 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 404 Not Found\nServer: blah\n\nDATA"), MockRead 702 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 715 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 716 net/http/http_network_transaction_unittest.cc MockRead("HTT"), MockRead 717 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 733 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 734 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 204 No Content\r\n\r\n"), MockRead 735 net/http/http_network_transaction_unittest.cc MockRead(junk), // Should not be read!! MockRead 736 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 754 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 755 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\nTransfer-Encoding: chunked\r\n\r\n"), MockRead 756 net/http/http_network_transaction_unittest.cc MockRead("5\r\nHello\r\n"), MockRead 757 net/http/http_network_transaction_unittest.cc MockRead("1\r\n"), MockRead 758 net/http/http_network_transaction_unittest.cc MockRead(" \r\n"), MockRead 759 net/http/http_network_transaction_unittest.cc MockRead("5\r\nworld\r\n"), MockRead 760 net/http/http_network_transaction_unittest.cc MockRead(last_read.data()), MockRead 761 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 777 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 778 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 779 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10\r\n"), MockRead 780 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 5\r\n\r\n"), MockRead 789 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 790 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 791 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 5\r\n"), MockRead 792 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 5\r\n\r\n"), MockRead 793 net/http/http_network_transaction_unittest.cc MockRead("Hello"), MockRead 806 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 807 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 808 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 5\r\n"), MockRead 809 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 5\r\n"), MockRead 810 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 5\r\n\r\n"), MockRead 811 net/http/http_network_transaction_unittest.cc MockRead("Hello"), MockRead 821 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 822 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 823 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 5\r\n"), MockRead 824 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 5\r\n"), MockRead 825 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 5\r\n\r\n"), MockRead 826 net/http/http_network_transaction_unittest.cc MockRead("Hello"), MockRead 836 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 837 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 838 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10\r\n"), MockRead 839 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10\r\n"), MockRead 840 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 5\r\n\r\n"), MockRead 850 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 851 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 852 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 666\r\n"), MockRead 853 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 1337\r\n"), MockRead 854 net/http/http_network_transaction_unittest.cc MockRead("Transfer-Encoding: chunked\r\n\r\n"), MockRead 855 net/http/http_network_transaction_unittest.cc MockRead("5\r\nHello\r\n"), MockRead 856 net/http/http_network_transaction_unittest.cc MockRead("1\r\n"), MockRead 857 net/http/http_network_transaction_unittest.cc MockRead(" \r\n"), MockRead 858 net/http/http_network_transaction_unittest.cc MockRead("5\r\nworld\r\n"), MockRead 859 net/http/http_network_transaction_unittest.cc MockRead("0\r\n\r\nHTTP/1.1 200 OK\r\n"), MockRead 860 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 873 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 874 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 875 net/http/http_network_transaction_unittest.cc MockRead("Content-Disposition: attachment;filename=\"salutations.txt\"r\n"), MockRead 876 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 5\r\n\r\n"), MockRead 877 net/http/http_network_transaction_unittest.cc MockRead("Hello"), MockRead 889 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 890 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 891 net/http/http_network_transaction_unittest.cc MockRead("Content-Disposition: attachment;filename=\"greetings.txt\"r\n"), MockRead 892 net/http/http_network_transaction_unittest.cc MockRead("Content-Disposition: attachment;filename=\"greetings.txt\"r\n"), MockRead 893 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 5\r\n\r\n"), MockRead 894 net/http/http_network_transaction_unittest.cc MockRead("Hello"), MockRead 905 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 906 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 907 net/http/http_network_transaction_unittest.cc MockRead("Content-Disposition: attachment;filename=\"greetings.txt\"r\n"), MockRead 908 net/http/http_network_transaction_unittest.cc MockRead("Content-Disposition: attachment;filename=\"hi.txt\"r\n"), MockRead 909 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 5\r\n\r\n"), MockRead 910 net/http/http_network_transaction_unittest.cc MockRead("Hello"), MockRead 920 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 921 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 302 Redirect\r\n"), MockRead 922 net/http/http_network_transaction_unittest.cc MockRead("Location: http://good.com/\r\n"), MockRead 923 net/http/http_network_transaction_unittest.cc MockRead("Location: http://good.com/\r\n"), MockRead 924 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 0\r\n\r\n"), MockRead 925 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 957 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 958 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 302 Redirect\r\n"), MockRead 959 net/http/http_network_transaction_unittest.cc MockRead("Location: http://good.com/\r\n"), MockRead 960 net/http/http_network_transaction_unittest.cc MockRead("Location: http://evil.com/\r\n"), MockRead 961 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 0\r\n\r\n"), MockRead 962 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 987 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 988 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 404 Not Found\r\n"), MockRead 989 net/http/http_network_transaction_unittest.cc MockRead("Server: Blah\r\n"), MockRead 990 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 1234\r\n\r\n"), MockRead 993 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_UNEXPECTED), // Should not be reached. MockRead 1034 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 1035 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\nContent-Length: 5\r\n\r\n"), MockRead 1036 net/http/http_network_transaction_unittest.cc MockRead("hello"), MockRead 1037 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\nContent-Length: 5\r\n\r\n"), MockRead 1038 net/http/http_network_transaction_unittest.cc MockRead("world"), MockRead 1039 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 1093 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 1094 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 100 Continue\r\n\r\n"), MockRead 1095 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n\r\n"), MockRead 1096 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 1097 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 1135 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 1136 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 102 Unspecified status code\r\n\r\n" MockRead 1138 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 1139 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 1174 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 1175 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, "HTTP/1.0 100 Continue\r\n"), MockRead 1176 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0), MockRead 1206 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 1207 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0), MockRead 1223 net/http/http_network_transaction_unittest.cc const MockRead* read_failure) { MockRead 1244 net/http/http_network_transaction_unittest.cc MockRead data1_reads[] = { MockRead 1245 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\nContent-Length: 5\r\n\r\n"), MockRead 1246 net/http/http_network_transaction_unittest.cc MockRead("hello"), MockRead 1247 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, OK), MockRead 1262 net/http/http_network_transaction_unittest.cc MockRead data2_reads[] = { MockRead 1263 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\nContent-Length: 5\r\n\r\n"), MockRead 1264 net/http/http_network_transaction_unittest.cc MockRead("world"), MockRead 1265 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, OK), MockRead 1312 net/http/http_network_transaction_unittest.cc const MockRead* read_failure, MockRead 1347 net/http/http_network_transaction_unittest.cc std::vector<MockRead> data1_reads; MockRead 1352 net/http/http_network_transaction_unittest.cc data1_reads.push_back(MockRead(ASYNC, OK)); MockRead 1367 net/http/http_network_transaction_unittest.cc std::vector<MockRead> data2_reads; MockRead 1375 net/http/http_network_transaction_unittest.cc data2_reads.push_back(MockRead(ASYNC, OK, 3)); MockRead 1381 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, kHttpResponse, strlen(kHttpResponse), 1)); MockRead 1382 net/http/http_network_transaction_unittest.cc data2_reads.push_back(MockRead(ASYNC, kHttpData, strlen(kHttpData), 2)); MockRead 1383 net/http/http_network_transaction_unittest.cc data2_reads.push_back(MockRead(ASYNC, OK, 3)); MockRead 1438 net/http/http_network_transaction_unittest.cc MockRead read_failure(ASYNC, ERR_CONNECTION_RESET); MockRead 1443 net/http/http_network_transaction_unittest.cc MockRead read_failure(SYNCHRONOUS, OK); // EOF MockRead 1454 net/http/http_network_transaction_unittest.cc MockRead read_failure(ASYNC, ERR_CONNECTION_RESET); MockRead 1459 net/http/http_network_transaction_unittest.cc MockRead read_failure(SYNCHRONOUS, OK); // EOF MockRead 1464 net/http/http_network_transaction_unittest.cc MockRead read_failure(ASYNC, OK); // EOF MockRead 1475 net/http/http_network_transaction_unittest.cc MockRead read_failure(ASYNC, ERR_CONNECTION_RESET); MockRead 1480 net/http/http_network_transaction_unittest.cc MockRead read_failure(SYNCHRONOUS, OK); // EOF MockRead 1485 net/http/http_network_transaction_unittest.cc MockRead read_failure(ASYNC, OK); // EOF MockRead 1499 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 1500 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, ERR_CONNECTION_RESET), MockRead 1501 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n\r\n"), // Should not be used MockRead 1502 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 1503 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 1530 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 1531 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), // EOF MockRead 1532 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n\r\n"), // Should not be used MockRead 1533 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 1534 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 1558 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 1559 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 1560 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 5\r\n\r\n"), MockRead 1561 net/http/http_network_transaction_unittest.cc MockRead("hello"), MockRead 1562 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 0), MockRead 1634 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 1635 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 1636 net/http/http_network_transaction_unittest.cc MockRead("Connection: keep-alive\r\n"), MockRead 1637 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 1638 net/http/http_network_transaction_unittest.cc MockRead("hello"), MockRead 1639 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 0), MockRead 1675 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 1676 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 1677 net/http/http_network_transaction_unittest.cc MockRead("Connection: keep-alive\r\n"), MockRead 1678 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 1679 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 0), MockRead 1718 net/http/http_network_transaction_unittest.cc MockRead data1_reads[] = { MockRead 1719 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 204 No Content\r\n\r\n"), MockRead 1720 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 205 Reset Content\r\n\r\n"), MockRead 1721 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 304 Not Modified\r\n\r\n"), MockRead 1722 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 302 Found\r\n" MockRead 1724 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 302 Found\r\n" MockRead 1727 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 301 Moved Permanently\r\n" MockRead 1729 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 301 Moved Permanently\r\n" MockRead 1732 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\nContent-Length: 5\r\n\r\n"), MockRead 1733 net/http/http_network_transaction_unittest.cc MockRead("hello"), MockRead 1738 net/http/http_network_transaction_unittest.cc MockRead data2_reads[] = { MockRead 1739 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_UNEXPECTED), // Should not be reached. MockRead 1832 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 1833 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 401 Unauthorized\r\n"), MockRead 1836 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: Basic invalid\r\n"), // Malformed. MockRead 1837 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 1838 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: UNSUPPORTED realm=\"FOO\"\r\n"), MockRead 1839 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 1841 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10000\r\n\r\n"), MockRead 1842 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_FAILED), MockRead 1855 net/http/http_network_transaction_unittest.cc MockRead data_reads2[] = { MockRead 1856 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 1857 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 1858 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 1859 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 1931 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 1932 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 401 Unauthorized\r\n"), MockRead 1933 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 1934 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 1936 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10000\r\n\r\n"), MockRead 1937 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_FAILED), MockRead 1984 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 1985 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 401 Unauthorized\r\n"), MockRead 1986 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 1987 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 1988 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 14\r\n\r\n"), MockRead 1989 net/http/http_network_transaction_unittest.cc MockRead("Unauthorized\r\n"), MockRead 1992 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 1993 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 1994 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 5\r\n\r\n"), MockRead 1995 net/http/http_network_transaction_unittest.cc MockRead("Hello"), MockRead 2000 net/http/http_network_transaction_unittest.cc MockRead data_reads2[] = { MockRead 2001 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_FAILED), MockRead 2082 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 2083 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 401 Unauthorized\r\n"), MockRead 2084 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 2085 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 0\r\n\r\n"), // No response body. MockRead 2088 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 2089 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 2090 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 5\r\n\r\n"), MockRead 2091 net/http/http_network_transaction_unittest.cc MockRead("hello"), MockRead 2095 net/http/http_network_transaction_unittest.cc MockRead data_reads2[] = { MockRead 2096 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_FAILED), MockRead 2163 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 2164 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 401 Unauthorized\r\n"), MockRead 2165 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 2166 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 2168 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 5134\r\n\r\n"), MockRead 2169 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, large_body_string.data(), large_body_string.size()), MockRead 2172 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 2173 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 2174 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 5\r\n\r\n"), MockRead 2175 net/http/http_network_transaction_unittest.cc MockRead("hello"), MockRead 2179 net/http/http_network_transaction_unittest.cc MockRead data_reads2[] = { MockRead 2180 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_FAILED), MockRead 2241 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 2242 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 401 Unauthorized\r\n"), MockRead 2243 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 2244 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 2245 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 14\r\n\r\n"), MockRead 2247 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ), MockRead 2248 net/http/http_network_transaction_unittest.cc MockRead("Unauthorized\r\n"), MockRead 2249 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), // The server closes the connection. MockRead 2262 net/http/http_network_transaction_unittest.cc MockRead data_reads2[] = { MockRead 2263 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 2264 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 2265 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 5\r\n\r\n"), MockRead 2266 net/http/http_network_transaction_unittest.cc MockRead("hello"), MockRead 2341 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 2343 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 407 Proxy Authentication Required\r\n"), MockRead 2344 net/http/http_network_transaction_unittest.cc MockRead("Proxy-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 2345 net/http/http_network_transaction_unittest.cc MockRead("Proxy-Connection: close\r\n\r\n"), MockRead 2347 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 Connection Established\r\n\r\n"), MockRead 2349 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 2350 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 2351 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 5\r\n\r\n"), MockRead 2352 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, "hello"), MockRead 2456 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 2458 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 407 Proxy Authentication Required\r\n"), MockRead 2459 net/http/http_network_transaction_unittest.cc MockRead("Proxy-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 2460 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10\r\n\r\n"), MockRead 2461 net/http/http_network_transaction_unittest.cc MockRead("0123456789"), MockRead 2464 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 407 Proxy Authentication Required\r\n"), MockRead 2465 net/http/http_network_transaction_unittest.cc MockRead("Proxy-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 2466 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10\r\n\r\n"), MockRead 2468 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_UNEXPECTED), // Should not be reached. MockRead 2549 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 2550 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 407 Proxy Authentication Required\r\n"), MockRead 2551 net/http/http_network_transaction_unittest.cc MockRead("Proxy-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 2552 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10\r\n\r\n"), MockRead 2553 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_UNEXPECTED), // Should not be reached. MockRead 2603 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 2604 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 407 Proxy Auth required\r\n"), MockRead 2605 net/http/http_network_transaction_unittest.cc MockRead("Proxy-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 2607 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10000\r\n\r\n"), MockRead 2608 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_FAILED), MockRead 2653 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 2654 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 Connection Established\r\n\r\n"), MockRead 2656 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 407 Unauthorized\r\n"), MockRead 2657 net/http/http_network_transaction_unittest.cc MockRead("Proxy-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 2658 net/http/http_network_transaction_unittest.cc MockRead("\r\n"), MockRead 2659 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 2723 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 2724 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 Connection Established\r\n\r\n"), MockRead 2726 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 2727 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 1\r\n\r\n"), MockRead 2728 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, "1"), MockRead 2730 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 2731 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 2\r\n\r\n"), MockRead 2732 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, "22"), MockRead 2821 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 2822 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 Connection Established\r\n\r\n"), MockRead 2824 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 2825 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 1\r\n\r\n"), MockRead 2826 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, "1"), MockRead 2828 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 2829 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 2\r\n\r\n"), MockRead 2830 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, "22"), MockRead 2906 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 2907 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 2908 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 2909 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 2910 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 2968 net/http/http_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 2971 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 0), MockRead 3059 net/http/http_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 3064 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 7), MockRead 3157 net/http/http_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 3162 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 8), MockRead 3247 net/http/http_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 3251 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 8), MockRead 3319 net/http/http_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 3321 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 4), MockRead 3431 net/http/http_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 3438 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 10), MockRead 3568 net/http/http_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 3574 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 8), MockRead 3684 net/http/http_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 3689 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 6), MockRead 3782 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 3784 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 407 Proxy Authentication Required\r\n"), MockRead 3785 net/http/http_network_transaction_unittest.cc MockRead("Proxy-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 3786 net/http/http_network_transaction_unittest.cc MockRead("Proxy-Connection: keep-alive\r\n"), MockRead 3787 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 0\r\n\r\n"), MockRead 3789 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 3790 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 3791 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 3792 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 3851 net/http/http_network_transaction_unittest.cc const MockRead& status, int expected_status) { MockRead 3868 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 3870 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10\r\n\r\n"), MockRead 3872 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_UNEXPECTED), // Should not be reached. MockRead 3892 net/http/http_network_transaction_unittest.cc const MockRead& status) { MockRead 3898 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 100 Continue\r\n")); MockRead 3902 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 101 Switching Protocols\r\n")); MockRead 3906 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 201 Created\r\n")); MockRead 3910 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 202 Accepted\r\n")); MockRead 3915 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 203 Non-Authoritative Information\r\n")); MockRead 3919 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 204 No Content\r\n")); MockRead 3923 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 205 Reset Content\r\n")); MockRead 3927 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 206 Partial Content\r\n")); MockRead 3931 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 300 Multiple Choices\r\n")); MockRead 3935 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 301 Moved Permanently\r\n")); MockRead 3939 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 302 Found\r\n")); MockRead 3943 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 303 See Other\r\n")); MockRead 3947 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 304 Not Modified\r\n")); MockRead 3951 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 305 Use Proxy\r\n")); MockRead 3955 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 306\r\n")); MockRead 3959 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 307 Temporary Redirect\r\n")); MockRead 3963 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 400 Bad Request\r\n")); MockRead 3967 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 401 Unauthorized\r\n")); MockRead 3971 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 402 Payment Required\r\n")); MockRead 3975 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 403 Forbidden\r\n")); MockRead 3979 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 404 Not Found\r\n")); MockRead 3983 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 405 Method Not Allowed\r\n")); MockRead 3987 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 406 Not Acceptable\r\n")); MockRead 3992 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 407 Proxy Authentication Required\r\n"), MockRead 3997 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 408 Request Timeout\r\n")); MockRead 4001 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 409 Conflict\r\n")); MockRead 4005 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 410 Gone\r\n")); MockRead 4009 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 411 Length Required\r\n")); MockRead 4013 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 412 Precondition Failed\r\n")); MockRead 4017 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 413 Request Entity Too Large\r\n")); MockRead 4021 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 414 Request-URI Too Long\r\n")); MockRead 4025 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 415 Unsupported Media Type\r\n")); MockRead 4030 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 416 Requested Range Not Satisfiable\r\n")); MockRead 4034 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 417 Expectation Failed\r\n")); MockRead 4038 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 500 Internal Server Error\r\n")); MockRead 4042 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 501 Not Implemented\r\n")); MockRead 4046 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 502 Bad Gateway\r\n")); MockRead 4050 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 503 Service Unavailable\r\n")); MockRead 4054 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 504 Gateway Timeout\r\n")); MockRead 4058 net/http/http_network_transaction_unittest.cc ConnectStatusHelper(MockRead("HTTP/1.1 505 HTTP Version Not Supported\r\n")); MockRead 4083 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 4084 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 407 Unauthorized\r\n"), MockRead 4087 net/http/http_network_transaction_unittest.cc MockRead("Proxy-Authenticate: Basic invalid\r\n"), // Malformed. MockRead 4088 net/http/http_network_transaction_unittest.cc MockRead("Proxy-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 4089 net/http/http_network_transaction_unittest.cc MockRead("Proxy-Authenticate: UNSUPPORTED realm=\"FOO\"\r\n"), MockRead 4090 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 4092 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10000\r\n\r\n"), MockRead 4093 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_FAILED), MockRead 4108 net/http/http_network_transaction_unittest.cc MockRead data_reads2[] = { MockRead 4109 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 401 Unauthorized\r\n"), MockRead 4112 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 4113 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 4114 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 2000\r\n\r\n"), MockRead 4115 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_FAILED), // Won't be reached. MockRead 4129 net/http/http_network_transaction_unittest.cc MockRead data_reads3[] = { MockRead 4130 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 4131 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 4132 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 4133 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 4213 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 4214 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 401 Access Denied\r\n"), MockRead 4218 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: NTLM\r\n"), MockRead 4219 net/http/http_network_transaction_unittest.cc MockRead("Connection: close\r\n"), MockRead 4220 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 42\r\n"), MockRead 4221 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html\r\n\r\n"), MockRead 4223 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_UNEXPECTED), MockRead 4249 net/http/http_network_transaction_unittest.cc MockRead data_reads2[] = { MockRead 4251 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 401 Access Denied\r\n"), MockRead 4252 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: NTLM " MockRead 4260 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 42\r\n"), MockRead 4261 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html\r\n\r\n"), MockRead 4262 net/http/http_network_transaction_unittest.cc MockRead("You are not authorized to view this page\r\n"), MockRead 4265 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 4266 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=utf-8\r\n"), MockRead 4267 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 13\r\n\r\n"), MockRead 4268 net/http/http_network_transaction_unittest.cc MockRead("Please Login\r\n"), MockRead 4269 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 4342 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 4343 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 401 Access Denied\r\n"), MockRead 4347 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: NTLM\r\n"), MockRead 4348 net/http/http_network_transaction_unittest.cc MockRead("Connection: close\r\n"), MockRead 4349 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 42\r\n"), MockRead 4350 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html\r\n\r\n"), MockRead 4352 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_UNEXPECTED), MockRead 4378 net/http/http_network_transaction_unittest.cc MockRead data_reads2[] = { MockRead 4380 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 401 Access Denied\r\n"), MockRead 4381 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: NTLM " MockRead 4389 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 42\r\n"), MockRead 4390 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html\r\n\r\n"), MockRead 4391 net/http/http_network_transaction_unittest.cc MockRead("You are not authorized to view this page\r\n"), MockRead 4394 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 401 Access Denied\r\n"), MockRead 4395 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: NTLM\r\n"), MockRead 4396 net/http/http_network_transaction_unittest.cc MockRead("Connection: close\r\n"), MockRead 4397 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 42\r\n"), MockRead 4398 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html\r\n\r\n"), MockRead 4400 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_UNEXPECTED), MockRead 4426 net/http/http_network_transaction_unittest.cc MockRead data_reads3[] = { MockRead 4428 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 401 Access Denied\r\n"), MockRead 4429 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: NTLM " MockRead 4437 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 42\r\n"), MockRead 4438 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html\r\n\r\n"), MockRead 4439 net/http/http_network_transaction_unittest.cc MockRead("You are not authorized to view this page\r\n"), MockRead 4442 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 4443 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=utf-8\r\n"), MockRead 4444 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 13\r\n\r\n"), MockRead 4445 net/http/http_network_transaction_unittest.cc MockRead("Please Login\r\n"), MockRead 4446 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 4542 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 4543 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 4544 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, large_headers_string.data(), large_headers_string.size()), MockRead 4545 net/http/http_network_transaction_unittest.cc MockRead("\r\nBODY"), MockRead 4546 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 4591 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 4592 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 404 Not Found\r\n"), MockRead 4593 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10\r\n\r\n"), MockRead 4594 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_UNEXPECTED), // Should not be reached. MockRead 4637 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 4639 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\nContent-Length: 11\r\n\r\nhel"), MockRead 4641 net/http/http_network_transaction_unittest.cc MockRead("lo"), MockRead 4642 net/http/http_network_transaction_unittest.cc MockRead(" world"), MockRead 4643 net/http/http_network_transaction_unittest.cc MockRead("junk"), // Should not be read!! MockRead 4644 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 4694 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 4695 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 4696 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 11\r\n\r\n"), MockRead 4697 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 4698 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 4756 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 4757 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 4758 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 11\r\n\r\n"), MockRead 4759 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ), MockRead 4760 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 4761 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 4850 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 4851 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 204 No Content\r\n" MockRead 4854 net/http/http_network_transaction_unittest.cc MockRead("junk"), // Should not be read!! MockRead 4855 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 4917 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 4918 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\nContent-Length: 11\r\n\r\n"), MockRead 4919 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 4920 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 4935 net/http/http_network_transaction_unittest.cc MockRead data_reads2[] = { MockRead 4936 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\nContent-Length: 7\r\n\r\n"), MockRead 4937 net/http/http_network_transaction_unittest.cc MockRead("welcome"), MockRead 4938 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 5003 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 5004 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 401 Unauthorized\r\n"), MockRead 5005 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 5006 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10\r\n\r\n"), MockRead 5007 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_FAILED), MockRead 5019 net/http/http_network_transaction_unittest.cc MockRead data_reads2[] = { MockRead 5020 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 5021 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 5022 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 5080 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 5081 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 401 Unauthorized\r\n"), MockRead 5082 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 5083 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10\r\n\r\n"), MockRead 5084 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_FAILED), MockRead 5096 net/http/http_network_transaction_unittest.cc MockRead data_reads2[] = { MockRead 5097 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 401 Unauthorized\r\n"), MockRead 5098 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 5099 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10\r\n\r\n"), MockRead 5100 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_FAILED), MockRead 5112 net/http/http_network_transaction_unittest.cc MockRead data_reads3[] = { MockRead 5113 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 5114 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 5115 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 5188 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 5189 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 401 Unauthorized\r\n"), MockRead 5190 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 5191 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10\r\n\r\n"), MockRead 5192 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_FAILED), MockRead 5205 net/http/http_network_transaction_unittest.cc MockRead data_reads3[] = { MockRead 5206 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 5207 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 5208 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 5268 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 5269 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 401 Unauthorized\r\n"), MockRead 5270 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 5271 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10000\r\n\r\n"), MockRead 5272 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_FAILED), MockRead 5284 net/http/http_network_transaction_unittest.cc MockRead data_reads2[] = { MockRead 5285 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 5286 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 5287 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 5348 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 5349 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 401 Unauthorized\r\n"), MockRead 5350 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: Basic realm=\"MyRealm2\"\r\n"), MockRead 5351 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10000\r\n\r\n"), MockRead 5352 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_FAILED), MockRead 5364 net/http/http_network_transaction_unittest.cc MockRead data_reads2[] = { MockRead 5365 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 5366 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 5367 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 5432 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 5433 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 5434 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 5435 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 5476 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 5477 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 401 Unauthorized\r\n"), MockRead 5478 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 5479 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10000\r\n\r\n"), MockRead 5480 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_FAILED), MockRead 5492 net/http/http_network_transaction_unittest.cc MockRead data_reads2[] = { MockRead 5493 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 5494 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 5495 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 5546 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 5547 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 401 Unauthorized\r\n"), MockRead 5548 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 5549 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10000\r\n\r\n"), MockRead 5550 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_FAILED), MockRead 5562 net/http/http_network_transaction_unittest.cc MockRead data_reads2[] = { MockRead 5563 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 401 Unauthorized\r\n"), MockRead 5564 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 5565 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 10000\r\n\r\n"), MockRead 5566 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_FAILED), MockRead 5579 net/http/http_network_transaction_unittest.cc MockRead data_reads3[] = { MockRead 5580 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 5581 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 5582 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 5658 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 5659 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 401 Unauthorized\r\n"), MockRead 5660 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: Digest realm=\"digestive\", nonce=\"OU812\", " MockRead 5662 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 5677 net/http/http_network_transaction_unittest.cc MockRead data_reads2[] = { MockRead 5678 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 5679 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 5742 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 5743 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 5744 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 5745 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 5826 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 5827 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 5828 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 5829 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 5830 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 5880 net/http/http_network_transaction_unittest.cc MockRead proxy_reads[] = { MockRead 5881 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 Connected\r\n\r\n"), MockRead 5882 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK) MockRead 5894 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 5895 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 Connected\r\n\r\n"), MockRead 5896 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 5897 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 5898 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 5899 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 5965 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 5966 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 Connected\r\n\r\n"), MockRead 5967 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 5968 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 5969 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 5970 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 6026 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 6027 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 302 Redirect\r\n"), MockRead 6028 net/http/http_network_transaction_unittest.cc MockRead("Location: http://login.example.com/\r\n"), MockRead 6029 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 0\r\n\r\n"), MockRead 6030 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 6110 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 6112 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 2), // EOF MockRead 6163 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 6164 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 404 Not Found\r\n"), MockRead 6165 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 23\r\n\r\n"), MockRead 6166 net/http/http_network_transaction_unittest.cc MockRead("The host does not exist"), MockRead 6167 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 6222 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 6225 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 4), // EOF MockRead 6325 net/http/http_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 6330 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, OK, 11), // EOF. May or may not be read. MockRead 6448 net/http/http_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 6453 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 6), // Force a pause MockRead 6563 net/http/http_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 6567 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 6), // Force a pause MockRead 6622 net/http/http_network_transaction_unittest.cc MockRead bad_cert_reads[] = { MockRead 6623 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 Connected\r\n\r\n"), MockRead 6624 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK) MockRead 6637 net/http/http_network_transaction_unittest.cc MockRead good_cert_reads[] = { MockRead 6638 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 Connected\r\n\r\n"), MockRead 6639 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 6640 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 6641 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 6642 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 6706 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 6707 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 6708 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 6709 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 6710 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 6744 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 6747 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 407 Proxy Authentication Required\r\n"), MockRead 6748 net/http/http_network_transaction_unittest.cc MockRead("Proxy-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 6749 net/http/http_network_transaction_unittest.cc MockRead("Proxy-Connection: close\r\n\r\n"), MockRead 6785 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 6786 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 6787 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 6788 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 6789 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 6822 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 6823 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 6824 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 6825 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 6826 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 6859 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 6860 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 6861 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 6862 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 6863 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 6896 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 6897 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 6898 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 6899 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 6900 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 6935 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 6936 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 6937 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 6938 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 6939 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 6974 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 6975 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 6976 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 6977 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 6978 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 7012 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 7013 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 7014 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 7015 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 7016 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 7054 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 7055 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 7056 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 7057 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 7058 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 7099 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 7100 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, read_buffer, arraysize(read_buffer)), MockRead 7101 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 7102 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n\r\n"), MockRead 7103 net/http/http_network_transaction_unittest.cc MockRead("Payload"), MockRead 7104 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK) MockRead 7159 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 7160 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, reinterpret_cast<char*>(read_buffer), MockRead 7162 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 7163 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n\r\n"), MockRead 7164 net/http/http_network_transaction_unittest.cc MockRead("Payload"), MockRead 7165 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK) MockRead 7222 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 7223 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, read_buffer, arraysize(read_buffer)), MockRead 7224 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 7225 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n\r\n"), MockRead 7226 net/http/http_network_transaction_unittest.cc MockRead("Payload"), MockRead 7227 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK) MockRead 7294 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 7295 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, kSOCKS5GreetResponse, arraysize(kSOCKS5GreetResponse)), MockRead 7296 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, kSOCKS5OkResponse, arraysize(kSOCKS5OkResponse)), MockRead 7297 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 7298 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n\r\n"), MockRead 7299 net/http/http_network_transaction_unittest.cc MockRead("Payload"), MockRead 7300 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK) MockRead 7369 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 7370 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, kSOCKS5GreetResponse, arraysize(kSOCKS5GreetResponse)), MockRead 7371 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, kSOCKS5OkResponse, arraysize(kSOCKS5OkResponse)), MockRead 7372 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n"), MockRead 7373 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n\r\n"), MockRead 7374 net/http/http_network_transaction_unittest.cc MockRead("Payload"), MockRead 7375 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK) MockRead 7733 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead(SYNCHRONOUS, ERR_UNEXPECTED) }; MockRead 7795 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 7796 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1."), MockRead 7797 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 7841 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 7842 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 401 Unauthorized\r\n"), MockRead 7843 net/http/http_network_transaction_unittest.cc MockRead("WWW-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 7844 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 7845 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 14\r\n\r\n"), MockRead 7846 net/http/http_network_transaction_unittest.cc MockRead("Unauth"), MockRead 7847 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, ERR_CONNECTION_RESET), MockRead 7864 net/http/http_network_transaction_unittest.cc MockRead data_reads2[] = { MockRead 7865 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 7866 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 7867 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 7868 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 7915 net/http/http_network_transaction_unittest.cc MockRead proxy_reads[] = { MockRead 7916 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 Connected\r\n\r\nExtra data"), MockRead 7917 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK) MockRead 7951 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 7952 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\nContent-Length:6719476739\r\n\r\n"), MockRead 7953 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 8003 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 8004 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n\r\n"), MockRead 8005 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 8006 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 8150 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 8151 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 401 Unauthorized\r\n" MockRead 8166 net/http/http_network_transaction_unittest.cc MockRead data_reads2[] = { MockRead 8167 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 401 Unauthorized\r\n" MockRead 8181 net/http/http_network_transaction_unittest.cc MockRead data_reads3[] = { MockRead 8182 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 401 Unauthorized\r\n" MockRead 8195 net/http/http_network_transaction_unittest.cc MockRead data_reads4[] = { MockRead 8196 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n" MockRead 8294 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 8295 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 8296 net/http/http_network_transaction_unittest.cc MockRead(alternate_protocol_http_header.c_str()), MockRead 8297 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 8298 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 8361 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 8362 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n\r\n"), MockRead 8363 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 8364 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, OK), MockRead 8424 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 8425 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n\r\n"), MockRead 8426 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 8427 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, OK), MockRead 8475 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 8476 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n\r\n"), MockRead 8477 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 8478 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, OK), MockRead 8523 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 8524 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n\r\n"), MockRead 8525 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 8526 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, OK), MockRead 8572 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 8573 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n\r\n"), MockRead 8574 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 8575 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, OK), MockRead 8620 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 8621 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n\r\n"), MockRead 8622 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 8623 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, OK), MockRead 8664 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 8665 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n\r\n"), MockRead 8666 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 8667 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, OK), MockRead 8717 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 8718 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 8719 net/http/http_network_transaction_unittest.cc MockRead(alternate_protocol_http_header.c_str()), MockRead 8720 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 8721 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ), MockRead 8722 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, OK) MockRead 8739 net/http/http_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 8742 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 0), MockRead 8807 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 8808 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 8809 net/http/http_network_transaction_unittest.cc MockRead(alternate_protocol_http_header.c_str()), MockRead 8810 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 8811 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ), MockRead 8812 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, OK), MockRead 8845 net/http/http_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 8850 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 0), MockRead 8924 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 8925 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 8926 net/http/http_network_transaction_unittest.cc MockRead(alternate_protocol_http_header.c_str()), MockRead 8927 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 8928 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ), MockRead 8929 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, OK), MockRead 9055 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 9056 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 9057 net/http/http_network_transaction_unittest.cc MockRead(alternate_protocol_http_header.c_str()), MockRead 9058 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 9059 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ), MockRead 9060 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, OK), MockRead 9084 net/http/http_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 9085 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, kCONNECTResponse, arraysize(kCONNECTResponse) - 1, 1), // 1 MockRead 9088 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 0, 4), // 6 MockRead 9165 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 9166 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 9167 net/http/http_network_transaction_unittest.cc MockRead(alternate_protocol_http_header.c_str()), MockRead 9168 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 9169 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, OK), MockRead 9186 net/http/http_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 9189 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 0), MockRead 9309 net/http/http_network_transaction_unittest.cc const MockRead kSuccess( MockRead 9314 net/http/http_network_transaction_unittest.cc const MockRead kFailure( MockRead 9316 net/http/http_network_transaction_unittest.cc const MockRead kServerChallenge( MockRead 9322 net/http/http_network_transaction_unittest.cc const MockRead kProxyChallenge( MockRead 9329 net/http/http_network_transaction_unittest.cc const MockRead kProxyConnected( MockRead 9342 net/http/http_network_transaction_unittest.cc TestRound(const MockWrite& write_arg, const MockRead& read_arg, MockRead 9350 net/http/http_network_transaction_unittest.cc TestRound(const MockWrite& write_arg, const MockRead& read_arg, MockRead 9352 net/http/http_network_transaction_unittest.cc const MockRead* extra_read_arg) MockRead 9360 net/http/http_network_transaction_unittest.cc MockRead read; MockRead 9363 net/http/http_network_transaction_unittest.cc const MockRead* extra_read; MockRead 9599 net/http/http_network_transaction_unittest.cc MockRead reads[2]; MockRead 9715 net/http/http_network_transaction_unittest.cc const MockRead kServerChallenge( MockRead 9721 net/http/http_network_transaction_unittest.cc const MockRead kSuccess( MockRead 9739 net/http/http_network_transaction_unittest.cc MockRead reads[] = { MockRead 9863 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 9864 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 9865 net/http/http_network_transaction_unittest.cc MockRead(alternate_protocol_http_header.c_str()), MockRead 9866 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 9867 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 9925 net/http/http_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 9926 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 0, 0) // Not async - return 0 immediately. MockRead 10002 net/http/http_network_transaction_unittest.cc MockRead data_reads_1[] = { MockRead 10003 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ), MockRead 10004 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n" MockRead 10056 net/http/http_network_transaction_unittest.cc MockRead data_reads_2[] = { MockRead 10058 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ, 1), MockRead 10059 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, kRejectConnectResponse, MockRead 10063 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, kAcceptConnectResponse, MockRead 10069 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 0, 6), MockRead 10137 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 10138 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, "HTTP/1.0 200 OK\r\n\r\n"), MockRead 10139 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, "hello world"), MockRead 10140 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 10185 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 10186 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 10187 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 10188 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 10189 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 10245 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 10246 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 Connection Established\r\n\r\n"), MockRead 10248 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 10249 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 10250 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 100\r\n\r\n"), MockRead 10251 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 10318 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 10319 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ), MockRead 10320 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 Connection Established\r\n\r\n"), MockRead 10321 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 0), // EOF MockRead 10359 net/http/http_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 10362 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 0), MockRead 10600 net/http/http_network_transaction_unittest.cc net::MockRead data2_reads[] = { MockRead 10601 net/http/http_network_transaction_unittest.cc net::MockRead(ASYNC /* async */, net::ERR_SSL_PROTOCOL_ERROR), MockRead 10821 net/http/http_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 10826 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 7), MockRead 10924 net/http/http_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 10929 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 7), MockRead 11070 net/http/http_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 11075 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 0, 7), MockRead 11144 net/http/http_network_transaction_unittest.cc MockRead data_reads1[] = { MockRead 11145 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_PIPELINE_EVICTION), MockRead 11147 net/http/http_network_transaction_unittest.cc MockRead data_reads2[] = { MockRead 11148 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n\r\n"), MockRead 11149 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 11150 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 11172 net/http/http_network_transaction_unittest.cc MockRead data_reads2[] = { MockRead 11173 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.0 200 OK\r\n\r\n"), MockRead 11174 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 11175 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 11204 net/http/http_network_transaction_unittest.cc MockRead reads1[] = { MockRead 11207 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 3) MockRead 11224 net/http/http_network_transaction_unittest.cc MockRead reads2[] = { MockRead 11225 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 5, "HTTP/1.1 200 OK\r\nContent-Length: 5\r\n\r\n"), MockRead 11226 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 6, "hello"), MockRead 11227 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, 7, OK), MockRead 11311 net/http/http_network_transaction_unittest.cc MockRead reads1[] = { MockRead 11317 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 8) MockRead 11405 net/http/http_network_transaction_unittest.cc MockRead reads[] = { MockRead 11410 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 7) MockRead 11473 net/http/http_network_transaction_unittest.cc MockRead reads1[] = { MockRead 11476 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, OK, 3) // EOF MockRead 11498 net/http/http_network_transaction_unittest.cc MockRead reads2[] = { MockRead 11501 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, OK, 3) // EOF MockRead 11588 net/http/http_network_transaction_unittest.cc MockRead reads1[] = { MockRead 11589 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_CONNECTION_CLOSED, 0) MockRead 11604 net/http/http_network_transaction_unittest.cc MockRead reads2[] = { MockRead 11607 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, OK, 3) // EOF MockRead 11687 net/http/http_network_transaction_unittest.cc MockRead spdy1_reads[] = { MockRead 11690 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 4), MockRead 11708 net/http/http_network_transaction_unittest.cc MockRead spdy2_reads[] = { MockRead 11711 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 4), MockRead 11726 net/http/http_network_transaction_unittest.cc MockRead http_read[] = { MockRead 11727 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 11728 net/http/http_network_transaction_unittest.cc MockRead("Content-Type: text/html; charset=iso-8859-1\r\n"), MockRead 11729 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 6\r\n\r\n"), MockRead 11730 net/http/http_network_transaction_unittest.cc MockRead("hello!"), MockRead 11898 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 11899 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_UNEXPECTED), // Should not be reached. MockRead 11934 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 11935 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_UNEXPECTED), // Should not be reached. MockRead 11972 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 11973 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_CONNECTION_RESET), MockRead 12010 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 12011 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, ERR_CONNECTION_RESET), MockRead 12050 net/http/http_network_transaction_unittest.cc MockRead data_reads[] = { MockRead 12051 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n" MockRead 12054 net/http/http_network_transaction_unittest.cc MockRead(ASYNC, ERR_UNEXPECTED), MockRead 12471 net/http/http_network_transaction_unittest.cc MockRead ssl_reads[] = { MockRead 12472 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 12473 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 11\r\n\r\n"), MockRead 12474 net/http/http_network_transaction_unittest.cc MockRead("hello world"), MockRead 12475 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 12495 net/http/http_network_transaction_unittest.cc MockRead http_reads[] = { MockRead 12496 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 12497 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 7\r\n\r\n"), MockRead 12498 net/http/http_network_transaction_unittest.cc MockRead("falafel"), MockRead 12499 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 12576 net/http/http_network_transaction_unittest.cc MockRead http_reads[] = { MockRead 12577 net/http/http_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 12578 net/http/http_network_transaction_unittest.cc MockRead("Content-Length: 7\r\n\r\n"), MockRead 12579 net/http/http_network_transaction_unittest.cc MockRead("falafel"), MockRead 12580 net/http/http_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 103 net/http/http_pipelined_connection_impl_unittest.cc void Initialize(MockRead* reads, size_t reads_count, MockRead 214 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 215 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 216 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 7\r\n\r\n"), MockRead 217 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 3, "ok.html"), MockRead 231 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 232 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, 1, "HTTP/1.1 200 OK\r\n"), MockRead 233 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, 2, "Content-Length: 7\r\n\r\n"), MockRead 234 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, 3, "ok.html"), MockRead 264 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 265 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, 2, "HTTP/1.1 200 OK\r\n"), MockRead 266 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, 3, "Content-Length: 7\r\n\r\n"), MockRead 267 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, 4, "ok.html"), MockRead 268 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, 5, "HTTP/1.1 200 OK\r\n"), MockRead 269 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, 6, "Content-Length: 7\r\n\r\n"), MockRead 270 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, 7, "ko.html"), MockRead 325 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 326 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, MockRead 362 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 363 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 364 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 7\r\n\r\n"), MockRead 365 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 3, "ko.html"), MockRead 366 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 5, "HTTP/1.1 200 OK\r\n"), MockRead 367 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 6, "Content-Length: 7\r\n\r\n"), MockRead 368 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 7, "ok.html"), MockRead 386 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 387 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, "HTTP/1.1 200 OK\r\n"), MockRead 388 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 3, "Content-Length: 7\r\n\r\n"), MockRead 389 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 4, "ok.html"), MockRead 390 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 5, "HTTP/1.1 200 OK\r\n"), MockRead 391 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 6, "Content-Length: 7\r\n\r\n"), MockRead 392 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 7, "ko.html"), MockRead 427 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 428 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 429 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 7\r\n\r\n"), MockRead 430 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 4, "ok.html"), MockRead 431 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 5, "HTTP/1.1 200 OK\r\n"), MockRead 432 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 6, "Content-Length: 7\r\n\r\n"), MockRead 433 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 7, "ko.html"), MockRead 464 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 465 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 466 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 7\r\n\r\n"), MockRead 467 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, 4, "ok.html"), MockRead 468 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 5, "HTTP/1.1 200 OK\r\n"), MockRead 469 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 6, "Content-Length: 7\r\n\r\n"), MockRead 470 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 7, "ko.html"), MockRead 515 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 516 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 517 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 7\r\n\r\n"), MockRead 518 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 3, "ok.html"), MockRead 534 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 535 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, 1, "HTTP/1.1 200 OK\r\n"), MockRead 536 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, 2, "Content-Length: 7\r\n\r\n"), MockRead 537 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, 3, "ok.html"), MockRead 538 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 5, "HTTP/1.1 200 OK\r\n"), MockRead 539 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 6, "Content-Length: 7\r\n\r\n"), MockRead 540 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 7, "ko.html"), MockRead 619 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 620 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 3, "HTTP/1.1 200 OK\r\n\r\n"), MockRead 621 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 4, "ok.html"), MockRead 622 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, OK, 6), // Connection closed message. Not read before the MockRead 751 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 752 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, ERR_FAILED, 2), MockRead 791 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 792 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 3, "HTTP/1.1 200 OK\r\n"), MockRead 793 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 4, "Content-Length: 7\r\n\r\n"), MockRead 794 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 5, "ok.html"), MockRead 836 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 837 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, "HTTP/1.1 200 OK\r\n"), MockRead 838 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 3, "Content-Length: 7\r\n\r\n"), MockRead 839 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 4, "ok.html"), MockRead 840 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, ERR_SOCKET_NOT_CONNECTED, 6), MockRead 882 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 883 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, "HTTP/1.1 200 OK\r\n"), MockRead 884 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 3, "Content-Length: 7\r\n\r\n"), MockRead 885 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 4, "ok.html"), MockRead 886 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, ERR_SOCKET_NOT_CONNECTED, 5), MockRead 918 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 919 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, "HTTP/1.1 200 OK\r\n"), MockRead 920 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 3, "Content-Length: 7\r\n\r\n"), MockRead 921 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 4, "ok.html"), MockRead 922 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, ERR_SOCKET_NOT_CONNECTED, 5), MockRead 952 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 953 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, "HTTP/1.1 200 OK\r\n"), MockRead 954 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 3, "Content-Length: 7\r\n\r\n"), MockRead 955 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 4, "ok.html"), MockRead 956 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, ERR_SOCKET_NOT_CONNECTED, 5), MockRead 1032 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 1033 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 1034 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, 2, "Content-Length: 7\r\n\r\n"), MockRead 1056 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 1057 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, "HTTP/1.1 200 OK\r\n"), MockRead 1058 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, 3, "Content-Length: 7\r\n\r\n"), MockRead 1086 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 1087 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, "HTTP/1.1 200 OK\r\n"), MockRead 1088 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, 3, "Content-Length: 7\r\n\r\n"), MockRead 1143 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 1144 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 1145 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, 2, "Content-Length: 7\r\n\r\n"), MockRead 1205 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 1206 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 1207 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, 3, "Content-Length: 7\r\n\r\n"), MockRead 1245 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 1246 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, MockRead 1250 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 3, MockRead 1282 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 1283 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, MockRead 1314 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 1315 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, MockRead 1318 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, ERR_SOCKET_NOT_CONNECTED, 3), MockRead 1348 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 1349 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, MockRead 1352 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 3, MockRead 1384 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 1385 net/http/http_pipelined_connection_impl_unittest.cc MockRead(ASYNC, 3, "HTTP/1.1 200 OK\r\n\r\n"), MockRead 1386 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 4, "ok.html"), MockRead 1387 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, OK, 5), MockRead 1430 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 1431 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, ERR_FAILED, 1), MockRead 1453 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 1454 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, ERR_INTERNET_DISCONNECTED, 1), MockRead 1474 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 1475 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.0 200 OK\r\n"), MockRead 1476 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 7\r\n"), MockRead 1477 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 3, "Connection: keep-alive\r\n\r\n"), MockRead 1478 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 4, "ok.html"), MockRead 1495 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 1496 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 1497 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 7\r\n"), MockRead 1498 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 3, "Connection: close\r\n\r\n"), MockRead 1499 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 4, "ok.html"), MockRead 1517 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 1518 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n\r\n"), MockRead 1519 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, "ok.html"), MockRead 1537 net/http/http_pipelined_connection_impl_unittest.cc MockRead reads[] = { MockRead 1538 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 401 Unauthorized\r\n"), MockRead 1539 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 2, "WWW-Authenticate: NTLM\r\n"), MockRead 1540 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 3, "Content-Length: 7\r\n\r\n"), MockRead 1541 net/http/http_pipelined_connection_impl_unittest.cc MockRead(SYNCHRONOUS, 4, "ok.html"), MockRead 98 net/http/http_pipelined_network_transaction_unittest.cc void AddExpectedConnection(MockRead* reads, size_t reads_count, MockRead 245 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads[] = { MockRead 246 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 247 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 9\r\n\r\n"), MockRead 248 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 3, "test.html"), MockRead 271 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads[] = { MockRead 272 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 273 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 8\r\n\r\n"), MockRead 274 net/http/http_pipelined_network_transaction_unittest.cc MockRead(ASYNC, 4, "one.html"), MockRead 275 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 5, "HTTP/1.1 200 OK\r\n"), MockRead 276 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 6, "Content-Length: 8\r\n\r\n"), MockRead 277 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 7, "two.html"), MockRead 305 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads[] = { MockRead 306 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 307 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 8\r\n\r\n"), MockRead 308 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 3, "one.html"), MockRead 309 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 5, "HTTP/1.1 200 OK\r\n"), MockRead 310 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 6, "Content-Length: 8\r\n\r\n"), MockRead 311 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 8, "two.html"), MockRead 312 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 9, "HTTP/1.1 200 OK\r\n"), MockRead 313 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 10, "Content-Length: 10\r\n\r\n"), MockRead 314 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 11, "three.html"), MockRead 315 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 13, "HTTP/1.1 200 OK\r\n"), MockRead 316 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 14, "Content-Length: 9\r\n\r\n"), MockRead 317 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 15, "four.html"), MockRead 348 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads[] = { MockRead 349 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 350 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 8\r\n\r\n"), MockRead 351 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 3, "one.html"), MockRead 352 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 5, "HTTP/1.1 200 OK\r\n"), MockRead 353 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 6, "Content-Length: 8\r\n\r\n"), MockRead 354 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 7, "two.html"), MockRead 355 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 9, "HTTP/1.1 200 OK\r\n"), MockRead 356 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 10, "Content-Length: 10\r\n\r\n"), MockRead 357 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 11, "three.html"), MockRead 358 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 13, "HTTP/1.1 200 OK\r\n"), MockRead 359 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 14, "Content-Length: 9\r\n\r\n"), MockRead 360 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 15, "four.html"), MockRead 378 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads[] = { MockRead 379 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n\r\n"), MockRead 380 net/http/http_pipelined_network_transaction_unittest.cc MockRead(ASYNC, 2, "one.html"), MockRead 381 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK, 3), MockRead 390 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads2[] = { MockRead 391 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 392 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 8\r\n\r\n"), MockRead 393 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 3, "two.html"), MockRead 411 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads[] = { MockRead 412 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 413 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 8\r\n\r\n"), MockRead 414 net/http/http_pipelined_network_transaction_unittest.cc MockRead(ASYNC, 4, "one.html"), MockRead 415 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_SOCKET_NOT_CONNECTED, 5), MockRead 424 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads2[] = { MockRead 425 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 426 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 8\r\n\r\n"), MockRead 427 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 3, "two.html"), MockRead 445 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads[] = { MockRead 446 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n\r\n"), MockRead 447 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_FAILED, 2), MockRead 456 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads2[] = { MockRead 457 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 458 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 8\r\n\r\n"), MockRead 459 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 3, "two.html"), MockRead 496 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads2[] = { MockRead 497 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 498 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 8\r\n\r\n"), MockRead 499 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 3, "two.html"), MockRead 533 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads[] = { MockRead 534 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 302 OK\r\n"), MockRead 535 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 8\r\n\r\n"), MockRead 536 net/http/http_pipelined_network_transaction_unittest.cc MockRead(ASYNC, 4, "redirect"), MockRead 537 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 5, "HTTP/1.1 200 OK\r\n"), MockRead 538 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 6, "Content-Length: 8\r\n\r\n"), MockRead 539 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 7, "two.html"), MockRead 577 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads[] = { MockRead 578 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 401 Authentication Required\r\n"), MockRead 579 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 2, MockRead 581 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 3, "Content-Length: 20\r\n\r\n"), MockRead 582 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 4, "needs authentication"), MockRead 583 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 6, "HTTP/1.1 200 OK\r\n"), MockRead 584 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 7, "Content-Length: 8\r\n\r\n"), MockRead 585 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 8, "one.html"), MockRead 622 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads[] = { MockRead 623 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.0 200 OK\r\n"), MockRead 624 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 14\r\n\r\n"), MockRead 625 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 3, "pipelined.html"), MockRead 634 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads2[] = { MockRead 635 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 636 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 8\r\n\r\n"), MockRead 637 net/http/http_pipelined_network_transaction_unittest.cc MockRead(ASYNC, 3, "one.html"), MockRead 638 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK, 4), MockRead 647 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads3[] = { MockRead 648 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 649 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 8\r\n\r\n"), MockRead 650 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 3, "two.html"), MockRead 651 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK, 4), MockRead 697 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads[] = { MockRead 698 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 699 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 2, "Content-Length: 8\r\n\r\n"), MockRead 700 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 3, "one.html"), MockRead 701 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 5, "HTTP/1.1 200 OK\r\n"), MockRead 702 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 6, "Content-Length: 8\r\n\r\n"), MockRead 703 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 8, "two.html"), MockRead 704 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 9, "HTTP/1.1 200 OK\r\n"), MockRead 705 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 10, "Content-Length: 10\r\n\r\n"), MockRead 706 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 11, "three.html"), MockRead 707 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 13, "HTTP/1.1 200 OK\r\n"), MockRead 708 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 14, "Content-Length: 9\r\n\r\n"), MockRead 709 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 15, "four.html"), MockRead 710 net/http/http_pipelined_network_transaction_unittest.cc MockRead(ASYNC, 18, "HTTP/1.1 200 OK\r\n"), MockRead 711 net/http/http_pipelined_network_transaction_unittest.cc MockRead(ASYNC, 19, "Content-Length: 24\r\n\r\n"), MockRead 712 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 20, "second-pipeline-one.html"), MockRead 713 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 21, "HTTP/1.1 200 OK\r\n"), MockRead 714 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 22, "Content-Length: 24\r\n\r\n"), MockRead 715 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 23, "second-pipeline-two.html"), MockRead 798 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads[] = { MockRead 799 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 OK\r\n"), MockRead 800 net/http/http_pipelined_network_transaction_unittest.cc MockRead(ASYNC, 2, "Content-Length: 8\r\n\r\n"), MockRead 801 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 4, "one.html"), MockRead 802 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 5, "HTTP/1.1 200 OK\r\n"), MockRead 803 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 6, "Content-Length: 8\r\n\r\n"), MockRead 804 net/http/http_pipelined_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 7, "two.html"), MockRead 876 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads[] = { MockRead 877 net/http/http_pipelined_network_transaction_unittest.cc MockRead(ASYNC, 1, "HTTP/1.1 200 OK\r\n"), MockRead 878 net/http/http_pipelined_network_transaction_unittest.cc MockRead(ASYNC, 2, "Content-Length: 8\r\n\r\n"), MockRead 879 net/http/http_pipelined_network_transaction_unittest.cc MockRead(ASYNC, 3, "one.html"), MockRead 880 net/http/http_pipelined_network_transaction_unittest.cc MockRead(ASYNC, 4, "HTTP/1.1 200 OK\r\n"), MockRead 881 net/http/http_pipelined_network_transaction_unittest.cc MockRead(ASYNC, 5, "Content-Length: 8\r\n\r\n"), MockRead 882 net/http/http_pipelined_network_transaction_unittest.cc MockRead(ASYNC, 6, "two.html"), MockRead 946 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads[] = { MockRead 947 net/http/http_pipelined_network_transaction_unittest.cc MockRead(ASYNC, ERR_FAILED, 1), MockRead 989 net/http/http_pipelined_network_transaction_unittest.cc MockRead reads[] = { MockRead 990 net/http/http_pipelined_network_transaction_unittest.cc MockRead(ASYNC, ERR_FAILED, 1), MockRead 171 net/http/http_proxy_client_socket_pool_unittest.cc void Initialize(MockRead* reads, size_t reads_count, MockRead 173 net/http/http_proxy_client_socket_pool_unittest.cc MockRead* spdy_reads, size_t spdy_reads_count, MockRead 287 net/http/http_proxy_client_socket_pool_unittest.cc MockRead reads[] = { MockRead 289 net/http/http_proxy_client_socket_pool_unittest.cc MockRead(ASYNC, 1, "HTTP/1.1 407 Proxy Authentication Required\r\n"), MockRead 290 net/http/http_proxy_client_socket_pool_unittest.cc MockRead(ASYNC, 2, "Proxy-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 291 net/http/http_proxy_client_socket_pool_unittest.cc MockRead(ASYNC, 3, "Content-Length: 10\r\n\r\n"), MockRead 292 net/http/http_proxy_client_socket_pool_unittest.cc MockRead(ASYNC, 4, "0123456789"), MockRead 318 net/http/http_proxy_client_socket_pool_unittest.cc MockRead spdy_reads[] = { MockRead 320 net/http/http_proxy_client_socket_pool_unittest.cc MockRead(ASYNC, 0, 3) MockRead 362 net/http/http_proxy_client_socket_pool_unittest.cc MockRead reads[] = { MockRead 363 net/http/http_proxy_client_socket_pool_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 Connection Established\r\n\r\n"), MockRead 387 net/http/http_proxy_client_socket_pool_unittest.cc MockRead reads[] = { MockRead 388 net/http/http_proxy_client_socket_pool_unittest.cc MockRead(ASYNC, 1, "HTTP/1.1 200 Connection Established\r\n\r\n"), MockRead 397 net/http/http_proxy_client_socket_pool_unittest.cc MockRead spdy_reads[] = { MockRead 399 net/http/http_proxy_client_socket_pool_unittest.cc MockRead(ASYNC, 0, 2) MockRead 436 net/http/http_proxy_client_socket_pool_unittest.cc MockRead spdy_reads[] = { MockRead 438 net/http/http_proxy_client_socket_pool_unittest.cc MockRead(ASYNC, 0, 2) MockRead 532 net/http/http_proxy_client_socket_pool_unittest.cc MockRead reads[] = { MockRead 533 net/http/http_proxy_client_socket_pool_unittest.cc MockRead(ASYNC, 1, "HTTP/1.1 200 Conn"), MockRead 534 net/http/http_proxy_client_socket_pool_unittest.cc MockRead(ASYNC, ERR_CONNECTION_CLOSED, 2), MockRead 541 net/http/http_proxy_client_socket_pool_unittest.cc MockRead spdy_reads[] = { MockRead 542 net/http/http_proxy_client_socket_pool_unittest.cc MockRead(ASYNC, ERR_CONNECTION_CLOSED, 1), MockRead 581 net/http/http_proxy_client_socket_pool_unittest.cc MockRead reads[] = { MockRead 582 net/http/http_proxy_client_socket_pool_unittest.cc MockRead(ASYNC, 1, "HTTP/1.1 100 Continue\r\n\r\n"), MockRead 583 net/http/http_proxy_client_socket_pool_unittest.cc MockRead(ASYNC, 2, "HTTP/1.1 200 Connection Established\r\n\r\n"), MockRead 607 net/http/http_proxy_client_socket_pool_unittest.cc MockRead reads[] = { MockRead 608 net/http/http_proxy_client_socket_pool_unittest.cc MockRead(ASYNC, 1, "HTTP/1.1 304 Not Modified\r\n\r\n"), MockRead 619 net/http/http_proxy_client_socket_pool_unittest.cc MockRead spdy_reads[] = { MockRead 621 net/http/http_proxy_client_socket_pool_unittest.cc MockRead(ASYNC, 0, 3), MockRead 658 net/http/http_proxy_client_socket_pool_unittest.cc MockRead reads[] = { MockRead 659 net/http/http_proxy_client_socket_pool_unittest.cc MockRead(ASYNC, 1, responseText.c_str()), MockRead 681 net/http/http_proxy_client_socket_pool_unittest.cc MockRead spdy_reads[] = { MockRead 683 net/http/http_proxy_client_socket_pool_unittest.cc MockRead(ASYNC, 0, 2), MockRead 831 net/http/http_stream_factory_impl_unittest.cc MockRead mock_read(ASYNC, OK); MockRead 978 net/http/http_stream_factory_impl_unittest.cc MockRead mock_read(ASYNC, OK); MockRead 1029 net/http/http_stream_factory_impl_unittest.cc MockRead read(SYNCHRONOUS, "HTTP/1.0 200 Connection established\r\n\r\n"); MockRead 1085 net/http/http_stream_factory_impl_unittest.cc MockRead mock_read(ASYNC, OK); MockRead 1141 net/http/http_stream_factory_impl_unittest.cc MockRead mock_read(SYNCHRONOUS, ERR_IO_PENDING); MockRead 1195 net/http/http_stream_factory_impl_unittest.cc MockRead mock_read(SYNCHRONOUS, ERR_IO_PENDING); MockRead 1273 net/http/http_stream_factory_impl_unittest.cc MockRead mock_read(ASYNC, OK); MockRead 1279 net/http/http_stream_factory_impl_unittest.cc MockRead mock_read2(ASYNC, OK); MockRead 214 net/http/http_stream_parser_unittest.cc MockRead reads[] = { MockRead 215 net/http/http_stream_parser_unittest.cc MockRead(ASYNC, 5, "HTTP/1.1 200 OK\r\n"), MockRead 216 net/http/http_stream_parser_unittest.cc MockRead(ASYNC, 6, "Content-Length: 8\r\n\r\n"), MockRead 217 net/http/http_stream_parser_unittest.cc MockRead(ASYNC, 7, "one.html"), MockRead 218 net/http/http_stream_parser_unittest.cc MockRead(SYNCHRONOUS, 0, 8), // EOF MockRead 326 net/http/http_stream_parser_unittest.cc MockRead truncated_status_reads[] = { MockRead 327 net/http/http_stream_parser_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 20"), MockRead 328 net/http/http_stream_parser_unittest.cc MockRead(SYNCHRONOUS, 0, 2), // EOF MockRead 331 net/http/http_stream_parser_unittest.cc MockRead truncated_after_status_reads[] = { MockRead 332 net/http/http_stream_parser_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 Ok\r\n"), MockRead 333 net/http/http_stream_parser_unittest.cc MockRead(SYNCHRONOUS, 0, 2), // EOF MockRead 336 net/http/http_stream_parser_unittest.cc MockRead truncated_in_header_reads[] = { MockRead 337 net/http/http_stream_parser_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 Ok\r\nHead"), MockRead 338 net/http/http_stream_parser_unittest.cc MockRead(SYNCHRONOUS, 0, 2), // EOF MockRead 341 net/http/http_stream_parser_unittest.cc MockRead truncated_after_header_reads[] = { MockRead 342 net/http/http_stream_parser_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 Ok\r\nHeader: foo\r\n"), MockRead 343 net/http/http_stream_parser_unittest.cc MockRead(SYNCHRONOUS, 0, 2), // EOF MockRead 346 net/http/http_stream_parser_unittest.cc MockRead truncated_after_final_newline_reads[] = { MockRead 347 net/http/http_stream_parser_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 Ok\r\nHeader: foo\r\n\r"), MockRead 348 net/http/http_stream_parser_unittest.cc MockRead(SYNCHRONOUS, 0, 2), // EOF MockRead 351 net/http/http_stream_parser_unittest.cc MockRead not_truncated_reads[] = { MockRead 352 net/http/http_stream_parser_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 200 Ok\r\nHeader: foo\r\n\r\n"), MockRead 353 net/http/http_stream_parser_unittest.cc MockRead(SYNCHRONOUS, 0, 2), // EOF MockRead 356 net/http/http_stream_parser_unittest.cc MockRead* reads[] = { MockRead 435 net/http/http_stream_parser_unittest.cc MockRead reads[] = { MockRead 436 net/http/http_stream_parser_unittest.cc MockRead(SYNCHRONOUS, 1, MockRead 513 net/http/http_stream_parser_unittest.cc reads_.push_back(MockRead(SYNCHRONOUS, sequence_number_++, data.data())); MockRead 517 net/http/http_stream_parser_unittest.cc reads_.push_back(MockRead(SYNCHRONOUS, 0, sequence_number_++)); // EOF MockRead 571 net/http/http_stream_parser_unittest.cc std::vector<MockRead> reads_; MockRead 74 net/quic/quic_network_transaction_unittest.cc reads_.push_back(MockRead(SYNCHRONOUS, packet->data(), packet->length(), MockRead 80 net/quic/quic_network_transaction_unittest.cc reads_.push_back(MockRead(mode, rv)); MockRead 91 net/quic/quic_network_transaction_unittest.cc MockRead* reads = reads_.empty() ? NULL : &reads_[0]; MockRead 101 net/quic/quic_network_transaction_unittest.cc std::vector<MockRead> reads_; MockRead 431 net/quic/quic_network_transaction_unittest.cc MockRead http_reads[] = { MockRead 432 net/quic/quic_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n\r\n"), MockRead 433 net/quic/quic_network_transaction_unittest.cc MockRead("hello world"), MockRead 434 net/quic/quic_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ), MockRead 435 net/quic/quic_network_transaction_unittest.cc MockRead(ASYNC, OK) MockRead 451 net/quic/quic_network_transaction_unittest.cc MockRead http_reads[] = { MockRead 452 net/quic/quic_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 453 net/quic/quic_network_transaction_unittest.cc MockRead(kQuicAlternateProtocolHttpHeader), MockRead 454 net/quic/quic_network_transaction_unittest.cc MockRead("hello world"), MockRead 455 net/quic/quic_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ), MockRead 456 net/quic/quic_network_transaction_unittest.cc MockRead(ASYNC, OK) MockRead 493 net/quic/quic_network_transaction_unittest.cc MockRead http_reads[] = { MockRead 494 net/quic/quic_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 495 net/quic/quic_network_transaction_unittest.cc MockRead(kQuicAlternateProtocolHttpsHeader), MockRead 496 net/quic/quic_network_transaction_unittest.cc MockRead("hello world"), MockRead 497 net/quic/quic_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ), MockRead 498 net/quic/quic_network_transaction_unittest.cc MockRead(ASYNC, OK) MockRead 540 net/quic/quic_network_transaction_unittest.cc MockRead http_reads[] = { MockRead 541 net/quic/quic_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 3, "HTTP/1.1 200 OK\r\n"), MockRead 542 net/quic/quic_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 4, kQuicAlternateProtocolHttpHeader), MockRead 543 net/quic/quic_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 5, "hello world"), MockRead 544 net/quic/quic_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK, 6) MockRead 557 net/quic/quic_network_transaction_unittest.cc MockRead quic_reads[] = { MockRead 558 net/quic/quic_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 1), MockRead 661 net/quic/quic_network_transaction_unittest.cc MockRead http_reads[] = { MockRead 662 net/quic/quic_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 3, "HTTP/1.1 200 OK\r\n"), MockRead 663 net/quic/quic_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 4, kQuicAlternateProtocolHttpHeader), MockRead 664 net/quic/quic_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 5, "hello world"), MockRead 665 net/quic/quic_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK, 6) MockRead 743 net/quic/quic_network_transaction_unittest.cc MockRead quic_reads[] = { MockRead 744 net/quic/quic_network_transaction_unittest.cc MockRead(ASYNC, close->data(), close->length()), MockRead 745 net/quic/quic_network_transaction_unittest.cc MockRead(ASYNC, OK), // EOF MockRead 752 net/quic/quic_network_transaction_unittest.cc MockRead http_reads[] = { MockRead 753 net/quic/quic_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n\r\n"), MockRead 754 net/quic/quic_network_transaction_unittest.cc MockRead("hello from http"), MockRead 755 net/quic/quic_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ), MockRead 756 net/quic/quic_network_transaction_unittest.cc MockRead(ASYNC, OK) MockRead 773 net/quic/quic_network_transaction_unittest.cc MockRead quic_reads[] = { MockRead 774 net/quic/quic_network_transaction_unittest.cc MockRead(ASYNC, ERR_SOCKET_NOT_CONNECTED), MockRead 781 net/quic/quic_network_transaction_unittest.cc MockRead http_reads[] = { MockRead 782 net/quic/quic_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n\r\n"), MockRead 783 net/quic/quic_network_transaction_unittest.cc MockRead("hello from http"), MockRead 784 net/quic/quic_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ), MockRead 785 net/quic/quic_network_transaction_unittest.cc MockRead(ASYNC, OK) MockRead 803 net/quic/quic_network_transaction_unittest.cc MockRead quic_reads[] = { MockRead 804 net/quic/quic_network_transaction_unittest.cc MockRead(ASYNC, ERR_SOCKET_NOT_CONNECTED), MockRead 813 net/quic/quic_network_transaction_unittest.cc MockRead http_reads[] = { MockRead 814 net/quic/quic_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n\r\n"), MockRead 815 net/quic/quic_network_transaction_unittest.cc MockRead("hello from http"), MockRead 816 net/quic/quic_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ), MockRead 817 net/quic/quic_network_transaction_unittest.cc MockRead(ASYNC, OK) MockRead 848 net/quic/quic_network_transaction_unittest.cc MockRead http_reads[] = { MockRead 849 net/quic/quic_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n"), MockRead 850 net/quic/quic_network_transaction_unittest.cc MockRead(kQuicAlternateProtocolHttpHeader), MockRead 851 net/quic/quic_network_transaction_unittest.cc MockRead("hello world"), MockRead 852 net/quic/quic_network_transaction_unittest.cc MockRead(SYNCHRONOUS, ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ), MockRead 853 net/quic/quic_network_transaction_unittest.cc MockRead(ASYNC, OK) MockRead 126 net/quic/quic_stream_factory_test.cc MockRead reads[] = { MockRead 127 net/quic/quic_stream_factory_test.cc MockRead(ASYNC, OK, 0) // EOF MockRead 199 net/quic/quic_stream_factory_test.cc MockRead reads[] = { MockRead 200 net/quic/quic_stream_factory_test.cc MockRead(ASYNC, OK, 0) // EOF MockRead 241 net/quic/quic_stream_factory_test.cc MockRead reads[] = { MockRead 242 net/quic/quic_stream_factory_test.cc MockRead(ASYNC, OK, 0) // EOF MockRead 270 net/quic/quic_stream_factory_test.cc MockRead reads[] = { MockRead 271 net/quic/quic_stream_factory_test.cc MockRead(ASYNC, OK, 0) // EOF MockRead 305 net/quic/quic_stream_factory_test.cc MockRead reads[] = { MockRead 306 net/quic/quic_stream_factory_test.cc MockRead(ASYNC, OK, 0) // EOF MockRead 353 net/quic/quic_stream_factory_test.cc MockRead reads[] = { MockRead 354 net/quic/quic_stream_factory_test.cc MockRead(ASYNC, OK, 0) // EOF MockRead 400 net/quic/quic_stream_factory_test.cc MockRead reads[] = { MockRead 401 net/quic/quic_stream_factory_test.cc MockRead(ASYNC, OK, 0) // EOF MockRead 469 net/quic/quic_stream_factory_test.cc MockRead reads[] = { MockRead 470 net/quic/quic_stream_factory_test.cc MockRead(ASYNC, OK, 0) // EOF MockRead 529 net/quic/quic_stream_factory_test.cc MockRead reads[] = { MockRead 530 net/quic/quic_stream_factory_test.cc MockRead(ASYNC, OK, 0) // EOF MockRead 596 net/quic/quic_stream_factory_test.cc MockRead reads[] = { MockRead 597 net/quic/quic_stream_factory_test.cc MockRead(ASYNC, OK, 0) // EOF MockRead 661 net/quic/quic_stream_factory_test.cc MockRead reads[] = { MockRead 662 net/quic/quic_stream_factory_test.cc MockRead(ASYNC, OK, 0) // EOF MockRead 769 net/quic/quic_stream_factory_test.cc MockRead reads[] = { MockRead 770 net/quic/quic_stream_factory_test.cc MockRead(ASYNC, OK, 0) // EOF MockRead 823 net/quic/quic_stream_factory_test.cc MockRead reads[] = { MockRead 824 net/quic/quic_stream_factory_test.cc MockRead(ASYNC, 0, 0) // EOF MockRead 836 net/quic/quic_stream_factory_test.cc MockRead reads2[] = { MockRead 837 net/quic/quic_stream_factory_test.cc MockRead(ASYNC, 0, 0) // EOF MockRead 887 net/quic/quic_stream_factory_test.cc MockRead reads[] = { MockRead 888 net/quic/quic_stream_factory_test.cc MockRead(ASYNC, 0, 0) // EOF MockRead 900 net/quic/quic_stream_factory_test.cc MockRead reads2[] = { MockRead 901 net/quic/quic_stream_factory_test.cc MockRead(ASYNC, 0, 0) // EOF MockRead 952 net/quic/quic_stream_factory_test.cc MockRead reads[] = { MockRead 953 net/quic/quic_stream_factory_test.cc MockRead(ASYNC, 0, 0) // EOF MockRead 965 net/quic/quic_stream_factory_test.cc MockRead reads2[] = { MockRead 966 net/quic/quic_stream_factory_test.cc MockRead(ASYNC, 0, 0) // EOF MockRead 1017 net/quic/quic_stream_factory_test.cc MockRead reads[] = { MockRead 1018 net/quic/quic_stream_factory_test.cc MockRead(ASYNC, 0, 0) // EOF MockRead 1030 net/quic/quic_stream_factory_test.cc MockRead reads2[] = { MockRead 1031 net/quic/quic_stream_factory_test.cc MockRead(ASYNC, 0, 0) // EOF MockRead 38 net/socket/deterministic_socket_data_unittest.cc void Initialize(MockRead* reads, size_t reads_count, MockWrite* writes, MockRead 87 net/socket/deterministic_socket_data_unittest.cc void DeterministicSocketDataTest::Initialize(MockRead* reads, MockRead 197 net/socket/deterministic_socket_data_unittest.cc MockRead reads[] = { MockRead 198 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, kMsg1, kLen1, 0), // Sync Read MockRead 199 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, 0, 1), // EOF MockRead 209 net/socket/deterministic_socket_data_unittest.cc MockRead reads[] = { MockRead 210 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, kMsg1, kLen1, 1), // Sync Read MockRead 211 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, 0, 2), // EOF MockRead 226 net/socket/deterministic_socket_data_unittest.cc MockRead reads[] = { MockRead 227 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, kMsg1, kLen1, 0), // Sync Read MockRead 228 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, 0, 1), // EOF MockRead 238 net/socket/deterministic_socket_data_unittest.cc MockRead reads[] = { MockRead 239 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, kMsg1, kLen1, 0), // Sync Read MockRead 240 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, kMsg2, kLen2, 1), // Sync Read MockRead 241 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, kMsg3, kLen3, 2), // Sync Read MockRead 242 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, kMsg3, kLen3, 3), // Sync Read MockRead 243 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, kMsg2, kLen2, 4), // Sync Read MockRead 244 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, kMsg3, kLen3, 5), // Sync Read MockRead 245 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, kMsg1, kLen1, 6), // Sync Read MockRead 246 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, 0, 7), // EOF MockRead 263 net/socket/deterministic_socket_data_unittest.cc MockRead reads[] = { MockRead 264 net/socket/deterministic_socket_data_unittest.cc MockRead(ASYNC, kMsg1, kLen1, 0), // Async Read MockRead 265 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, 0, 1), // EOF MockRead 274 net/socket/deterministic_socket_data_unittest.cc MockRead reads[] = { MockRead 275 net/socket/deterministic_socket_data_unittest.cc MockRead(ASYNC, kMsg1, kLen1, 0), // Async Read MockRead 276 net/socket/deterministic_socket_data_unittest.cc MockRead(ASYNC, kMsg2, kLen2, 1), // Async Read MockRead 277 net/socket/deterministic_socket_data_unittest.cc MockRead(ASYNC, kMsg3, kLen3, 2), // Async Read MockRead 278 net/socket/deterministic_socket_data_unittest.cc MockRead(ASYNC, kMsg3, kLen3, 3), // Async Read MockRead 279 net/socket/deterministic_socket_data_unittest.cc MockRead(ASYNC, kMsg2, kLen2, 4), // Async Read MockRead 280 net/socket/deterministic_socket_data_unittest.cc MockRead(ASYNC, kMsg3, kLen3, 5), // Async Read MockRead 281 net/socket/deterministic_socket_data_unittest.cc MockRead(ASYNC, kMsg1, kLen1, 6), // Async Read MockRead 282 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, 0, 7), // EOF MockRead 297 net/socket/deterministic_socket_data_unittest.cc MockRead reads[] = { MockRead 298 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, kMsg1, kLen1, 0), // Sync Read MockRead 299 net/socket/deterministic_socket_data_unittest.cc MockRead(ASYNC, kMsg2, kLen2, 1), // Async Read MockRead 300 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, kMsg3, kLen3, 2), // Sync Read MockRead 301 net/socket/deterministic_socket_data_unittest.cc MockRead(ASYNC, kMsg3, kLen3, 3), // Async Read MockRead 302 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, kMsg2, kLen2, 4), // Sync Read MockRead 303 net/socket/deterministic_socket_data_unittest.cc MockRead(ASYNC, kMsg3, kLen3, 5), // Async Read MockRead 304 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, kMsg1, kLen1, 6), // Sync Read MockRead 305 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, 0, 7), // EOF MockRead 324 net/socket/deterministic_socket_data_unittest.cc MockRead reads[] = { MockRead 325 net/socket/deterministic_socket_data_unittest.cc MockRead(ASYNC, kMsg1, kLen1, 0), // Async Read MockRead 326 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, kMsg2, kLen2, 1), // Sync Read MockRead 362 net/socket/deterministic_socket_data_unittest.cc MockRead reads[] = { MockRead 363 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, 0, 0) MockRead 493 net/socket/deterministic_socket_data_unittest.cc MockRead reads[] = { MockRead 494 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, kMsg1, kLen1, 0), // Sync Read MockRead 495 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, kMsg2, kLen2, 3), // Sync Read MockRead 496 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, 0, 4), // EOF MockRead 515 net/socket/deterministic_socket_data_unittest.cc MockRead reads[] = { MockRead 516 net/socket/deterministic_socket_data_unittest.cc MockRead(ASYNC, kMsg1, kLen1, 0), // Sync Read MockRead 517 net/socket/deterministic_socket_data_unittest.cc MockRead(ASYNC, kMsg2, kLen2, 3), // Sync Read MockRead 518 net/socket/deterministic_socket_data_unittest.cc MockRead(ASYNC, 0, 4), // EOF MockRead 536 net/socket/deterministic_socket_data_unittest.cc MockRead reads[] = { MockRead 537 net/socket/deterministic_socket_data_unittest.cc MockRead(ASYNC, kMsg1, kLen1, 0), // Async Read MockRead 538 net/socket/deterministic_socket_data_unittest.cc MockRead(ASYNC, kMsg2, kLen2, 3), // Async Read MockRead 539 net/socket/deterministic_socket_data_unittest.cc MockRead(ASYNC, 0, 4), // EOF MockRead 583 net/socket/deterministic_socket_data_unittest.cc MockRead reads[] = { MockRead 584 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, kMsg1, kLen1, 0), // Sync Read MockRead 585 net/socket/deterministic_socket_data_unittest.cc MockRead(ASYNC, kMsg2, kLen2, 3), // Async Read MockRead 586 net/socket/deterministic_socket_data_unittest.cc MockRead(SYNCHRONOUS, 0, 4), // EOF MockRead 121 net/socket/socket_test_util.cc const char* stop = (r.sequence_number & MockRead::STOPLOOP) ? " (STOP)" : ""; MockRead 122 net/socket/socket_test_util.cc DVLOG(1) << "Stage: " << (r.sequence_number & ~MockRead::STOPLOOP) << stop MockRead 157 net/socket/socket_test_util.cc StaticSocketDataProvider::StaticSocketDataProvider(MockRead* reads, MockRead 171 net/socket/socket_test_util.cc const MockRead& StaticSocketDataProvider::PeekRead() const { MockRead 181 net/socket/socket_test_util.cc const MockRead& StaticSocketDataProvider::PeekRead(size_t index) const { MockRead 191 net/socket/socket_test_util.cc MockRead StaticSocketDataProvider::GetNextRead() { MockRead 245 net/socket/socket_test_util.cc MockRead DynamicSocketDataProvider::GetNextRead() { MockRead 247 net/socket/socket_test_util.cc return MockRead(SYNCHRONOUS, ERR_UNEXPECTED); MockRead 248 net/socket/socket_test_util.cc MockRead result = reads_.front(); MockRead 268 net/socket/socket_test_util.cc reads_.push_back(MockRead(ASYNC, data, length)); MockRead 292 net/socket/socket_test_util.cc int write_delay, MockRead* reads, size_t reads_count, MockRead 302 net/socket/socket_test_util.cc const MockConnect& connect, int write_delay, MockRead* reads, MockRead 321 net/socket/socket_test_util.cc MockRead DelayedSocketData::GetNextRead() { MockRead 322 net/socket/socket_test_util.cc MockRead out = MockRead(ASYNC, ERR_IO_PENDING); MockRead 354 net/socket/socket_test_util.cc MockRead* reads, size_t reads_count, MockWrite* writes, size_t writes_count) MockRead 362 net/socket/socket_test_util.cc MockRead* reads, size_t reads_count, MockRead 375 net/socket/socket_test_util.cc const MockRead& next_read = StaticSocketDataProvider::PeekRead(); MockRead 376 net/socket/socket_test_util.cc if ((next_read.sequence_number & ~MockRead::STOPLOOP) > MockRead 391 net/socket/socket_test_util.cc MockRead OrderedSocketData::GetNextRead() { MockRead 394 net/socket/socket_test_util.cc const MockRead& next_read = StaticSocketDataProvider::PeekRead(); MockRead 395 net/socket/socket_test_util.cc if (next_read.sequence_number & MockRead::STOPLOOP) MockRead 397 net/socket/socket_test_util.cc if ((next_read.sequence_number & ~MockRead::STOPLOOP) <= MockRead 407 net/socket/socket_test_util.cc MockRead result = MockRead(ASYNC, ERR_IO_PENDING); MockRead 452 net/socket/socket_test_util.cc DeterministicSocketData::DeterministicSocketData(MockRead* reads, MockRead 513 net/socket/socket_test_util.cc MockRead DeterministicSocketData::GetNextRead() { MockRead 519 net/socket/socket_test_util.cc return MockRead(SYNCHRONOUS, ERR_UNEXPECTED); MockRead 526 net/socket/socket_test_util.cc MockRead result = MockRead(SYNCHRONOUS, ERR_IO_PENDING); MockRead 531 net/socket/socket_test_util.cc result = MockRead(SYNCHRONOUS, ERR_UNEXPECTED); MockRead 621 net/socket/socket_test_util.cc MockRead* reads, size_t reads_count, MockRead 941 net/socket/socket_test_util.cc void MockTCPClientSocket::OnReadComplete(const MockRead& data) { MockRead 1196 net/socket/socket_test_util.cc void DeterministicMockUDPClientSocket::OnReadComplete(const MockRead& data) {} MockRead 1290 net/socket/socket_test_util.cc void DeterministicMockTCPClientSocket::OnReadComplete(const MockRead& data) {} MockRead 1437 net/socket/socket_test_util.cc void MockSSLClientSocket::OnReadComplete(const MockRead& data) { MockRead 1546 net/socket/socket_test_util.cc void MockUDPClientSocket::OnReadComplete(const MockRead& data) { MockRead 206 net/socket/socket_test_util.h virtual MockRead GetNextRead() = 0; MockRead 233 net/socket/socket_test_util.h virtual void OnReadComplete(const MockRead& data) = 0; MockRead 242 net/socket/socket_test_util.h StaticSocketDataProvider(MockRead* reads, MockRead 249 net/socket/socket_test_util.h const MockRead& PeekRead() const; MockRead 252 net/socket/socket_test_util.h const MockRead& PeekRead(size_t index) const; MockRead 265 net/socket/socket_test_util.h virtual MockRead GetNextRead() OVERRIDE; MockRead 270 net/socket/socket_test_util.h MockRead* reads_; MockRead 295 net/socket/socket_test_util.h virtual MockRead GetNextRead() OVERRIDE; MockRead 306 net/socket/socket_test_util.h std::deque<MockRead> reads_; MockRead 350 net/socket/socket_test_util.h MockRead* reads, MockRead 364 net/socket/socket_test_util.h MockRead* reads, MockRead 373 net/socket/socket_test_util.h virtual MockRead GetNextRead() OVERRIDE; MockRead 405 net/socket/socket_test_util.h OrderedSocketData(MockRead* reads, MockRead 418 net/socket/socket_test_util.h MockRead* reads, MockRead 427 net/socket/socket_test_util.h virtual MockRead GetNextRead() OVERRIDE; MockRead 529 net/socket/socket_test_util.h DeterministicSocketData(MockRead* reads, MockRead 548 net/socket/socket_test_util.h MockRead& current_read() { return current_read_; } MockRead 557 net/socket/socket_test_util.h virtual MockRead GetNextRead() OVERRIDE; MockRead 572 net/socket/socket_test_util.h void VerifyCorrectSequenceNumbers(MockRead* reads, MockRead 578 net/socket/socket_test_util.h MockRead current_read_; MockRead 756 net/socket/socket_test_util.h virtual void OnReadComplete(const MockRead& data) OVERRIDE; MockRead 766 net/socket/socket_test_util.h MockRead read_data_; MockRead 817 net/socket/socket_test_util.h MockRead read_data_; MockRead 866 net/socket/socket_test_util.h virtual void OnReadComplete(const MockRead& data) OVERRIDE; MockRead 916 net/socket/socket_test_util.h virtual void OnReadComplete(const MockRead& data) OVERRIDE; MockRead 961 net/socket/socket_test_util.h virtual void OnReadComplete(const MockRead& data) OVERRIDE; MockRead 1008 net/socket/socket_test_util.h virtual void OnReadComplete(const MockRead& data) OVERRIDE; MockRead 1022 net/socket/socket_test_util.h MockRead read_data_; MockRead 35 net/socket/socks5_client_socket_unittest.cc scoped_ptr<SOCKS5ClientSocket> BuildMockSocket(MockRead reads[], MockRead 85 net/socket/socks5_client_socket_unittest.cc MockRead reads[], MockRead 132 net/socket/socks5_client_socket_unittest.cc MockRead data_reads[] = { MockRead 133 net/socket/socks5_client_socket_unittest.cc MockRead(ASYNC, kSOCKS5GreetResponse, kSOCKS5GreetResponseLength), MockRead 134 net/socket/socks5_client_socket_unittest.cc MockRead(ASYNC, kSOCKS5OkResponse, kSOCKS5OkResponseLength), MockRead 135 net/socket/socks5_client_socket_unittest.cc MockRead(ASYNC, payload_read.data(), payload_read.size()) }; MockRead 204 net/socket/socks5_client_socket_unittest.cc MockRead data_reads[] = { MockRead 205 net/socket/socks5_client_socket_unittest.cc MockRead(SYNCHRONOUS, kSOCKS5GreetResponse, kSOCKS5GreetResponseLength), MockRead 206 net/socket/socks5_client_socket_unittest.cc MockRead(SYNCHRONOUS, kSOCKS5OkResponse, kSOCKS5OkResponseLength) MockRead 230 net/socket/socks5_client_socket_unittest.cc MockRead data_reads[] = {MockRead()}; MockRead 264 net/socket/socks5_client_socket_unittest.cc MockRead data_reads[] = { MockRead 265 net/socket/socks5_client_socket_unittest.cc MockRead(ASYNC, kSOCKS5GreetResponse, kSOCKS5GreetResponseLength), MockRead 266 net/socket/socks5_client_socket_unittest.cc MockRead(ASYNC, kSOCKS5OkResponse, kSOCKS5OkResponseLength) }; MockRead 294 net/socket/socks5_client_socket_unittest.cc MockRead data_reads[] = { MockRead 295 net/socket/socks5_client_socket_unittest.cc MockRead(ASYNC, partial1, arraysize(partial1)), MockRead 296 net/socket/socks5_client_socket_unittest.cc MockRead(ASYNC, partial2, arraysize(partial2)), MockRead 297 net/socket/socks5_client_socket_unittest.cc MockRead(ASYNC, kSOCKS5OkResponse, kSOCKS5OkResponseLength) }; MockRead 325 net/socket/socks5_client_socket_unittest.cc MockRead data_reads[] = { MockRead 326 net/socket/socks5_client_socket_unittest.cc MockRead(ASYNC, kSOCKS5GreetResponse, kSOCKS5GreetResponseLength), MockRead 327 net/socket/socks5_client_socket_unittest.cc MockRead(ASYNC, kSOCKS5OkResponse, kSOCKS5OkResponseLength) }; MockRead 352 net/socket/socks5_client_socket_unittest.cc MockRead data_reads[] = { MockRead 353 net/socket/socks5_client_socket_unittest.cc MockRead(ASYNC, kSOCKS5GreetResponse, kSOCKS5GreetResponseLength), MockRead 354 net/socket/socks5_client_socket_unittest.cc MockRead(ASYNC, kSOCKS5OkResponse, kSplitPoint), MockRead 355 net/socket/socks5_client_socket_unittest.cc MockRead(ASYNC, kSOCKS5OkResponse + kSplitPoint, MockRead 74 net/socket/socks_client_socket_pool_unittest.cc reads_.reset(new MockRead[3]); MockRead 75 net/socket/socks_client_socket_pool_unittest.cc reads_[0] = MockRead(mode, kSOCKS5GreetResponse, MockRead 77 net/socket/socks_client_socket_pool_unittest.cc reads_[1] = MockRead(mode, kSOCKS5OkResponse, kSOCKS5OkResponseLength); MockRead 78 net/socket/socks_client_socket_pool_unittest.cc reads_[2] = MockRead(mode, 0); MockRead 89 net/socket/socks_client_socket_pool_unittest.cc scoped_ptr<MockRead[]> reads_; MockRead 233 net/socket/socks_client_socket_pool_unittest.cc MockRead failed_read[] = { MockRead 234 net/socket/socks_client_socket_pool_unittest.cc MockRead(SYNCHRONOUS, 0), MockRead 252 net/socket/socks_client_socket_pool_unittest.cc MockRead failed_read[] = { MockRead 253 net/socket/socks_client_socket_pool_unittest.cc MockRead(ASYNC, 0), MockRead 32 net/socket/socks_client_socket_unittest.cc MockRead reads[], size_t reads_count, MockRead 60 net/socket/socks_client_socket_unittest.cc MockRead reads[], MockRead 143 net/socket/socks_client_socket_unittest.cc MockRead data_reads[] = { MockRead 144 net/socket/socks_client_socket_unittest.cc MockRead(ASYNC, kSOCKSOkReply, arraysize(kSOCKSOkReply)), MockRead 145 net/socket/socks_client_socket_unittest.cc MockRead(ASYNC, payload_read.data(), payload_read.size()) }; MockRead 219 net/socket/socks_client_socket_unittest.cc MockRead data_reads[] = { MockRead 220 net/socket/socks_client_socket_unittest.cc MockRead(SYNCHRONOUS, tests[i].fail_reply, MockRead 256 net/socket/socks_client_socket_unittest.cc MockRead data_reads[] = { MockRead 257 net/socket/socks_client_socket_unittest.cc MockRead(ASYNC, kSOCKSPartialReply1, arraysize(kSOCKSPartialReply1)), MockRead 258 net/socket/socks_client_socket_unittest.cc MockRead(ASYNC, kSOCKSPartialReply2, arraysize(kSOCKSPartialReply2)) }; MockRead 295 net/socket/socks_client_socket_unittest.cc MockRead data_reads[] = { MockRead 296 net/socket/socks_client_socket_unittest.cc MockRead(ASYNC, kSOCKSOkReply, arraysize(kSOCKSOkReply)) }; MockRead 325 net/socket/socks_client_socket_unittest.cc MockRead data_reads[] = { MockRead 326 net/socket/socks_client_socket_unittest.cc MockRead(ASYNC, kSOCKSOkReply, arraysize(kSOCKSOkReply) - 2), MockRead 328 net/socket/socks_client_socket_unittest.cc MockRead(SYNCHRONOUS, 0) }; MockRead 390 net/socket/socks_client_socket_unittest.cc MockRead data_reads[] = { MockRead(SYNCHRONOUS, "", 0) }; MockRead 668 net/socket/ssl_client_socket_pool_unittest.cc MockRead reads[] = { MockRead 669 net/socket/ssl_client_socket_pool_unittest.cc MockRead(SYNCHRONOUS, "HTTP/1.1 200 Connection Established\r\n\r\n"), MockRead 703 net/socket/ssl_client_socket_pool_unittest.cc MockRead reads[] = { MockRead 704 net/socket/ssl_client_socket_pool_unittest.cc MockRead(SYNCHRONOUS, "HTTP/1.1 200 Connection Established\r\n\r\n"), MockRead 732 net/socket/ssl_client_socket_pool_unittest.cc MockRead reads[] = { MockRead 733 net/socket/ssl_client_socket_pool_unittest.cc MockRead("HTTP/1.1 200 Connection Established\r\n\r\n"), MockRead 766 net/socket/ssl_client_socket_pool_unittest.cc MockRead reads[] = { MockRead 767 net/socket/ssl_client_socket_pool_unittest.cc MockRead("HTTP/1.1 407 Proxy Authentication Required\r\n"), MockRead 768 net/socket/ssl_client_socket_pool_unittest.cc MockRead("Proxy-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 769 net/socket/ssl_client_socket_pool_unittest.cc MockRead("Content-Length: 10\r\n\r\n"), MockRead 770 net/socket/ssl_client_socket_pool_unittest.cc MockRead("0123456789"), MockRead 836 net/socket/ssl_client_socket_pool_unittest.cc MockRead reads[] = { MockRead 837 net/socket/ssl_client_socket_pool_unittest.cc MockRead(ASYNC, ERR_IO_PENDING), MockRead 897 net/socket/ssl_client_socket_pool_unittest.cc MockRead reads[] = { MockRead 898 net/socket/ssl_client_socket_pool_unittest.cc MockRead(ASYNC, ERR_IO_PENDING), MockRead 1567 net/socket/ssl_client_socket_unittest.cc MockRead data_reads[] = { MockRead 1568 net/socket/ssl_client_socket_unittest.cc MockRead(SYNCHRONOUS, MockRead 1571 net/socket/ssl_client_socket_unittest.cc MockRead(SYNCHRONOUS, OK), }; MockRead 411 net/socket_stream/socket_stream_unittest.cc MockRead data_reads[] = { MockRead 412 net/socket_stream/socket_stream_unittest.cc MockRead(SocketStreamTest::kWebSocketHandshakeResponse), MockRead 414 net/socket_stream/socket_stream_unittest.cc MockRead(ASYNC, ERR_IO_PENDING) MockRead 527 net/socket_stream/socket_stream_unittest.cc MockRead data_reads1[] = { MockRead 528 net/socket_stream/socket_stream_unittest.cc MockRead("HTTP/1.1 407 Proxy Authentication Required\r\n"), MockRead 529 net/socket_stream/socket_stream_unittest.cc MockRead("Proxy-Authenticate: Basic realm=\"MyRealm1\"\r\n"), MockRead 530 net/socket_stream/socket_stream_unittest.cc MockRead("\r\n"), MockRead 542 net/socket_stream/socket_stream_unittest.cc MockRead data_reads2[] = { MockRead 543 net/socket_stream/socket_stream_unittest.cc MockRead("HTTP/1.1 200 Connection Established\r\n"), MockRead 544 net/socket_stream/socket_stream_unittest.cc MockRead("Proxy-agent: Apache/2.2.8\r\n"), MockRead 545 net/socket_stream/socket_stream_unittest.cc MockRead("\r\n"), MockRead 549 net/socket_stream/socket_stream_unittest.cc MockRead(ASYNC, ERR_IO_PENDING) MockRead 603 net/socket_stream/socket_stream_unittest.cc MockRead data_reads[] = { MockRead 604 net/socket_stream/socket_stream_unittest.cc MockRead("HTTP/1.1 200 Connection Established\r\n"), MockRead 605 net/socket_stream/socket_stream_unittest.cc MockRead("Proxy-agent: Apache/2.2.8\r\n"), MockRead 606 net/socket_stream/socket_stream_unittest.cc MockRead("\r\n"), MockRead 607 net/socket_stream/socket_stream_unittest.cc MockRead(ASYNC, ERR_IO_PENDING) MockRead 657 net/socket_stream/socket_stream_unittest.cc MockRead data_reads1[] = { MockRead 658 net/socket_stream/socket_stream_unittest.cc MockRead("HTTP/1.1 200 Connection Established\r\n"), MockRead 659 net/socket_stream/socket_stream_unittest.cc MockRead("Proxy-agent: Apache/2.2.8\r\n"), MockRead 660 net/socket_stream/socket_stream_unittest.cc MockRead("\r\n"), MockRead 661 net/socket_stream/socket_stream_unittest.cc MockRead(ASYNC, ERR_IO_PENDING) MockRead 730 net/socket_stream/socket_stream_unittest.cc MockRead data_reads[] = { MockRead 731 net/socket_stream/socket_stream_unittest.cc MockRead(SocketStreamTest::kWebSocketHandshakeResponse), MockRead 733 net/socket_stream/socket_stream_unittest.cc MockRead(ASYNC, ERR_IO_PENDING) MockRead 839 net/socket_stream/socket_stream_unittest.cc MockRead data_reads[] = { MockRead 840 net/socket_stream/socket_stream_unittest.cc MockRead("HTTP/1.1 200 Connection Established\r\n"), MockRead 841 net/socket_stream/socket_stream_unittest.cc MockRead("Proxy-agent: Apache/2.2.8\r\n"), MockRead 842 net/socket_stream/socket_stream_unittest.cc MockRead("\r\n"), MockRead 846 net/socket_stream/socket_stream_unittest.cc MockRead(ASYNC, ERR_IO_PENDING) MockRead 890 net/socket_stream/socket_stream_unittest.cc MockRead data_reads[] = { MockRead 891 net/socket_stream/socket_stream_unittest.cc MockRead("HTTP/1.1 200 Connection Established\r\n"), MockRead 892 net/socket_stream/socket_stream_unittest.cc MockRead("Proxy-agent: Apache/2.2.8\r\n"), MockRead 893 net/socket_stream/socket_stream_unittest.cc MockRead("\r\n"), MockRead 897 net/socket_stream/socket_stream_unittest.cc MockRead(ASYNC, ERR_IO_PENDING) MockRead 1011 net/socket_stream/socket_stream_unittest.cc MockRead data_reads[] = { MockRead 1012 net/socket_stream/socket_stream_unittest.cc MockRead(SocketStreamTest::kWebSocketHandshakeResponse), MockRead 90 net/spdy/spdy_http_stream_unittest.cc void InitSessionDeterministic(MockRead* reads, size_t reads_count, MockRead 103 net/spdy/spdy_http_stream_unittest.cc void InitSession(MockRead* reads, size_t reads_count, MockRead 140 net/spdy/spdy_http_stream_unittest.cc MockRead reads[] = { MockRead 141 net/spdy/spdy_http_stream_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 165 net/spdy/spdy_http_stream_unittest.cc MockRead reads[] = { MockRead 167 net/spdy/spdy_http_stream_unittest.cc MockRead(SYNCHRONOUS, 0, 3) // EOF MockRead 237 net/spdy/spdy_http_stream_unittest.cc MockRead reads[] = { MockRead 242 net/spdy/spdy_http_stream_unittest.cc MockRead(ASYNC, 0, 6) // EOF MockRead 329 net/spdy/spdy_http_stream_unittest.cc std::vector<MockRead> reads; MockRead 332 net/spdy/spdy_http_stream_unittest.cc reads.push_back(MockRead(SYNCHRONOUS, 0, seq++)); // EOF MockRead 402 net/spdy/spdy_http_stream_unittest.cc MockRead reads[] = { MockRead 407 net/spdy/spdy_http_stream_unittest.cc MockRead(ASYNC, 0, 8) // EOF MockRead 499 net/spdy/spdy_http_stream_unittest.cc MockRead reads[] = { MockRead 501 net/spdy/spdy_http_stream_unittest.cc MockRead(SYNCHRONOUS, 0, 3) // EOF MockRead 556 net/spdy/spdy_http_stream_unittest.cc MockRead reads[] = { MockRead 560 net/spdy/spdy_http_stream_unittest.cc MockRead(ASYNC, 0, 5) // EOF MockRead 404 net/spdy/spdy_network_transaction_unittest.cc void ConnectStatusHelperWithExpectedStatus(const MockRead& status, MockRead 407 net/spdy/spdy_network_transaction_unittest.cc void ConnectStatusHelper(const MockRead& status); MockRead 738 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 741 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 810 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 813 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 864 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 876 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0), // EOF MockRead 953 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 960 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0), // EOF MockRead 1040 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 1047 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0), // EOF MockRead 1162 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 1174 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0), // EOF MockRead 1299 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 1313 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0), // EOF MockRead 1439 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 1447 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0), // EOF MockRead 1573 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 1579 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_CONNECTION_RESET, 0), // Abort! MockRead 1693 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 1696 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 1761 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 1764 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 1790 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 1793 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 1819 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 1822 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 1841 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 1842 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 1870 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 1873 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 1898 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 1901 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 1938 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 1943 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 2006 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 2009 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 2053 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 2056 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 2079 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 2082 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 4) // EOF MockRead 2131 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 2133 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0, 4) // EOF MockRead 2162 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 2164 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 2189 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 2193 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 2241 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 2244 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 2278 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 2282 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 2308 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 2314 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 2350 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 2352 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0, 3) // EOF MockRead 2400 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 2402 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 3), // Force a pause MockRead 2403 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, reinterpret_cast<const char*>(kGetBodyFrame2), MockRead 2405 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 5), // Force a pause MockRead 2406 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0, 6), // EOF MockRead 2408 net/spdy/spdy_network_transaction_unittest.cc MockRead reads2[] = { MockRead 2410 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0, 3), // EOF MockRead 2455 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 2457 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 3), // Force a pause MockRead 2459 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0, 5), // EOF MockRead 2515 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 2517 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0, 3) // EOF MockRead 2526 net/spdy/spdy_network_transaction_unittest.cc MockRead reads2[] = { MockRead 2529 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0, 4) // EOF MockRead 2600 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 2604 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 5), // Force a pause MockRead 2605 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0, 7) // EOF MockRead 2620 net/spdy/spdy_network_transaction_unittest.cc MockRead reads2[] = { MockRead 2623 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0, 5) // EOF MockRead 2700 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 2705 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 6), // Force a pause MockRead 2748 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 2753 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 6), // Force a pause MockRead 2794 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 2799 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 6), // Force a pause MockRead 2840 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 2845 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 6), // Force a pause MockRead 2914 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 2920 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 8), // Force a pause MockRead 2974 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 2982 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 9), // Force a pause MockRead 3033 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 3038 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 6), // Force a pause MockRead 3042 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 10) // Force a pause. MockRead 3085 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 3089 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 5) // Force a pause MockRead 3151 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 3155 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 5), // Force a pause MockRead 3219 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 3223 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 5) // Force a pause MockRead 3312 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 3315 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 3454 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 3457 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 3573 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 3575 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 3625 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 3626 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, test_cases[i].syn_reply->data(), wrong_size), MockRead 3628 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 3666 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 3667 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, syn_reply_wrong_length->data(), MockRead 3691 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 3692 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 2) // EOF MockRead 3722 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 3725 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 3756 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 3784 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 3787 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 3886 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 3888 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING), // Force a pause MockRead 3889 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, combined_data_frames, combined_data_frames_len), MockRead 3890 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING), // Force a pause MockRead 3892 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 3980 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 3982 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING), // Force a pause MockRead 3983 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, combined_data_frames, combined_data_frames_len), MockRead 3984 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 4080 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 4081 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, combined_frames, combined_frames_len), MockRead 4082 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 4167 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 4169 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING), // Force a wait MockRead 4170 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, combined_data_frames, combined_data_frames_len), MockRead 4171 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 4248 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 4250 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING), // Force a wait MockRead 4252 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 4370 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 4374 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 4512 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 4515 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 4557 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 4577 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 4579 net/spdy/spdy_network_transaction_unittest.cc MockRead(SYNCHRONOUS, 0, 0) // EOF MockRead 4637 net/spdy/spdy_network_transaction_unittest.cc MockRead reads_SPDYNPN[] = { MockRead 4638 net/spdy/spdy_network_transaction_unittest.cc MockRead(SYNCHRONOUS, kHTTP200, arraysize(kHTTP200) - 1, 1), MockRead 4641 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0, 5), MockRead 4648 net/spdy/spdy_network_transaction_unittest.cc MockRead reads_SPDYSSL[] = { MockRead 4649 net/spdy/spdy_network_transaction_unittest.cc MockRead(SYNCHRONOUS, kHTTP200, arraysize(kHTTP200) - 1, 1), MockRead 4652 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0, 5), MockRead 4659 net/spdy/spdy_network_transaction_unittest.cc MockRead reads_SPDYNOSSL[] = { MockRead 4662 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0, 3), MockRead 4741 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 4744 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 4), // Force a pause MockRead 4745 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 5) // EOF MockRead 4798 net/spdy/spdy_network_transaction_unittest.cc MockRead reads_SPDYNPN[] = { MockRead 4799 net/spdy/spdy_network_transaction_unittest.cc MockRead(SYNCHRONOUS, kHTTP200, arraysize(kHTTP200) - 1, 1), MockRead 4802 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 5) // EOF MockRead 4808 net/spdy/spdy_network_transaction_unittest.cc MockRead reads_SPDYNOSSL[] = { MockRead 4811 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 3) // EOF MockRead 4818 net/spdy/spdy_network_transaction_unittest.cc MockRead reads_SPDYSSL[] = { MockRead 4819 net/spdy/spdy_network_transaction_unittest.cc MockRead(SYNCHRONOUS, kHTTP200, arraysize(kHTTP200) - 1, 1), MockRead 4822 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0, 5), MockRead 4897 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 4900 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING), MockRead 4901 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_CONNECTION_RESET), MockRead 4904 net/spdy/spdy_network_transaction_unittest.cc MockRead reads2[] = { MockRead 4907 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 4980 net/spdy/spdy_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 4983 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 4997 net/spdy/spdy_network_transaction_unittest.cc MockRead http_reads[] = { MockRead 4998 net/spdy/spdy_network_transaction_unittest.cc MockRead("HTTP/1.1 200 OK\r\n\r\n"), MockRead 4999 net/spdy/spdy_network_transaction_unittest.cc MockRead("hello from http"), MockRead 5000 net/spdy/spdy_network_transaction_unittest.cc MockRead(SYNCHRONOUS, OK), MockRead 5053 net/spdy/spdy_network_transaction_unittest.cc MockRead spdy_reads[] = { MockRead 5058 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 7), MockRead 5147 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 5153 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 7), // Force a pause MockRead 5216 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 5222 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 6), // EOF MockRead 5351 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 5358 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 7), // EOF MockRead 5488 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 5494 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 6), // EOF MockRead 5596 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 5600 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 5648 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 5653 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 5725 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 5730 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 7), // Force a pause MockRead 5797 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 5801 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 6) // EOF MockRead 5862 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 5869 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 9) // EOF MockRead 5976 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 5986 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0, 12) // EOF MockRead 6058 net/spdy/spdy_network_transaction_unittest.cc std::vector<MockRead> reads; MockRead 6072 net/spdy/spdy_network_transaction_unittest.cc reads.push_back(MockRead(ASYNC, ERR_IO_PENDING, 0)); // Yield. MockRead 6149 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 6151 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 4) // EOF MockRead 6252 net/spdy/spdy_network_transaction_unittest.cc MockRead reads[] = { MockRead 6260 net/spdy/spdy_network_transaction_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 6350 net/spdy/spdy_network_transaction_unittest.cc std::vector<MockRead> reads; MockRead 6380 net/spdy/spdy_network_transaction_unittest.cc reads.push_back(MockRead(ASYNC, 0, i++)); // EOF MockRead 6468 net/spdy/spdy_network_transaction_unittest.cc std::vector<MockRead> reads; MockRead 6504 net/spdy/spdy_network_transaction_unittest.cc reads.push_back(MockRead(ASYNC, 0, i++)); // EOF MockRead 72 net/spdy/spdy_proxy_client_socket_unittest.cc void Initialize(MockRead* reads, size_t reads_count, MockWrite* writes, MockRead 175 net/spdy/spdy_proxy_client_socket_unittest.cc void SpdyProxyClientSocketTest::Initialize(MockRead* reads, MockRead 477 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 479 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 2), // EOF MockRead 498 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 500 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 2), // EOF MockRead 521 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 523 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 2), // EOF MockRead 541 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 543 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 2), // EOF MockRead 570 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 571 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 1), // EOF MockRead 592 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 594 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 2), // EOF MockRead 615 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 617 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 2), // EOF MockRead 652 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 654 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 4), // EOF MockRead 678 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 680 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 5), // EOF MockRead 708 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 711 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 3), // EOF MockRead 732 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 736 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 4), // EOF MockRead 760 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 764 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 4), // EOF MockRead 787 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 791 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 4), // EOF MockRead 815 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 821 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 6), // EOF MockRead 847 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 851 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 4), // EOF MockRead 875 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 878 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 3), // EOF MockRead 907 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 911 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 4), // EOF MockRead 933 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 937 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 4), // EOF MockRead 958 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 962 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 5), // EOF MockRead 994 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 998 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 5), // EOF MockRead 1029 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 1031 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 2), // EOF MockRead 1055 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 1057 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 2), // EOF MockRead 1080 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 1082 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 2), // EOF MockRead 1105 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 1108 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 3), // EOF MockRead 1138 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 1140 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 2), // EOF MockRead 1162 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 1164 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 2), // EOF MockRead 1188 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 1190 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 3), // EOF MockRead 1218 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 1220 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 3), // EOF MockRead 1248 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 1250 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 2), // EOF MockRead 1281 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 1284 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 4) // EOF MockRead 1320 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 1323 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 3), // EOF MockRead 1405 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead reads[] = { MockRead 1408 net/spdy/spdy_proxy_client_socket_unittest.cc MockRead(ASYNC, 0, 4), // EOF MockRead 102 net/spdy/spdy_session_pool_unittest.cc MockRead reads[] = { MockRead 103 net/spdy/spdy_session_pool_unittest.cc MockRead(SYNCHRONOUS, ERR_IO_PENDING) // Stall forever. MockRead 141 net/spdy/spdy_session_pool_unittest.cc MockRead reads[] = { MockRead 142 net/spdy/spdy_session_pool_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 265 net/spdy/spdy_session_pool_unittest.cc MockRead reads[] = { MockRead 266 net/spdy/spdy_session_pool_unittest.cc MockRead(SYNCHRONOUS, ERR_IO_PENDING) // Stall forever. MockRead 355 net/spdy/spdy_session_pool_unittest.cc MockRead reads[] = { MockRead 356 net/spdy/spdy_session_pool_unittest.cc MockRead(SYNCHRONOUS, ERR_IO_PENDING) // Stall forever. MockRead 238 net/spdy/spdy_session_unittest.cc MockRead reads[] = {MockRead(ASYNC, 0, 0), }; MockRead 293 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 324 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 351 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 353 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 3) // EOF MockRead 431 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 434 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 4) // EOF MockRead 511 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 513 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 3) // EOF MockRead 588 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 590 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 2) // EOF MockRead 654 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 657 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 4) // EOF MockRead 716 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 717 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 1) // EOF MockRead 783 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 785 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 0, 2) // EOF MockRead 838 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 840 net/spdy/spdy_session_unittest.cc MockRead(SYNCHRONOUS, 0, 0) // EOF MockRead 889 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 890 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 2) // EOF MockRead 940 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 942 net/spdy/spdy_session_unittest.cc CreateMockRead(*push_b, 3), MockRead(ASYNC, 0, 5), // EOF MockRead 1011 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 1012 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 0, 0) // EOF MockRead 1071 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 1073 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 1), MockRead 1130 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 1132 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 1), MockRead 1198 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 1199 net/spdy/spdy_session_unittest.cc MockRead(SYNCHRONOUS, ERR_IO_PENDING) // Stall forever. MockRead 1259 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 1260 net/spdy/spdy_session_unittest.cc MockRead(SYNCHRONOUS, ERR_IO_PENDING) // Stall forever. MockRead 1350 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 1351 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 1391 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 1393 net/spdy/spdy_session_unittest.cc MockRead(SYNCHRONOUS, 0, 0) // EOF MockRead 1457 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 1462 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 6) // EOF MockRead 1529 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 1532 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 3) // EOF MockRead 1604 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 1605 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 1675 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 1676 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 1752 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 1753 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 2) // EOF MockRead 1833 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 1834 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 2) // EOF MockRead 1931 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 1932 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 1) // EOF MockRead 1984 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 1985 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 2026 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 2027 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 0) // EOF MockRead 2096 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 2104 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 10) // EOF MockRead 2222 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 2223 net/spdy/spdy_session_unittest.cc MockRead(SYNCHRONOUS, ERR_IO_PENDING) // Stall forever. MockRead 2334 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 2340 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 6) // EOF MockRead 2424 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 2431 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 7) // EOF MockRead 2532 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 2544 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 12) // EOF MockRead 2612 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 2665 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 2666 net/spdy/spdy_session_unittest.cc MockRead(SYNCHRONOUS, 0, 0) // EOF MockRead 2706 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 2707 net/spdy/spdy_session_unittest.cc MockRead(SYNCHRONOUS, ERR_IO_PENDING) // Stall forever. MockRead 2757 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 2758 net/spdy/spdy_session_unittest.cc MockRead(SYNCHRONOUS, ERR_IO_PENDING) // Stall forever. MockRead 2836 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 2837 net/spdy/spdy_session_unittest.cc MockRead(SYNCHRONOUS, ERR_IO_PENDING) // Stall forever. MockRead 2852 net/spdy/spdy_session_unittest.cc MockRead http_reads[] = { MockRead 2853 net/spdy/spdy_session_unittest.cc MockRead(SYNCHRONOUS, ERR_IO_PENDING) // Stall forever. MockRead 2998 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 3000 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 2) // EOF MockRead 3061 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 3063 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 1) // EOF MockRead 3117 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 3118 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 1) // EOF MockRead 3175 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 3176 net/spdy/spdy_session_unittest.cc MockRead(SYNCHRONOUS, 0, 0) // EOF MockRead 3211 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 3213 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 1) // EOF MockRead 3281 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 3284 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 4) // EOF MockRead 3357 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 3359 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 2) // EOF MockRead 3444 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 3448 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 5) // EOF MockRead 3564 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 3566 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 0, 3), // EOF MockRead 3723 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 3726 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 0, 6), // EOF MockRead 3879 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 3881 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 0, 5), // EOF MockRead 4036 net/spdy/spdy_session_unittest.cc MockRead reads[] = { MockRead 4037 net/spdy/spdy_session_unittest.cc MockRead(ASYNC, 0, 0, 2), // EOF MockRead 82 net/spdy/spdy_stream_unittest.cc reads_.push_back(MockRead(ASYNC, 0, offset_++)); MockRead 85 net/spdy/spdy_stream_unittest.cc MockRead* GetReads() { MockRead 108 net/spdy/spdy_stream_unittest.cc std::vector<MockRead> reads_; MockRead 88 net/spdy/spdy_test_util_common.cc MockRead* ChopReadFrame(const char* data, int length, int num_chunks) { MockRead 89 net/spdy/spdy_test_util_common.cc MockRead* chunks = new MockRead[num_chunks]; MockRead 95 net/spdy/spdy_test_util_common.cc chunks[index] = MockRead(ASYNC, ptr, chunk_size); MockRead 103 net/spdy/spdy_test_util_common.cc MockRead* ChopReadFrame(const SpdyFrame& frame, int num_chunks) { MockRead 170 net/spdy/spdy_test_util_common.cc MockRead CreateMockRead(const SpdyFrame& resp) { MockRead 171 net/spdy/spdy_test_util_common.cc return MockRead(ASYNC, resp.data(), resp.size()); MockRead 175 net/spdy/spdy_test_util_common.cc MockRead CreateMockRead(const SpdyFrame& resp, int seq) { MockRead 180 net/spdy/spdy_test_util_common.cc MockRead CreateMockRead(const SpdyFrame& resp, int seq, IoMode mode) { MockRead 181 net/spdy/spdy_test_util_common.cc return MockRead(mode, resp.data(), resp.size(), seq); MockRead 70 net/spdy/spdy_test_util_common.h MockRead* ChopReadFrame(const char* data, int length, int num_chunks); MockRead 75 net/spdy/spdy_test_util_common.h MockRead* ChopReadFrame(const SpdyFrame& frame, int num_chunks); MockRead 95 net/spdy/spdy_test_util_common.h MockRead CreateMockRead(const SpdyFrame& resp); MockRead 98 net/spdy/spdy_test_util_common.h MockRead CreateMockRead(const SpdyFrame& resp, int seq); MockRead 100 net/spdy/spdy_test_util_common.h MockRead CreateMockRead(const SpdyFrame& resp, int seq, IoMode mode); MockRead 246 net/spdy/spdy_websocket_stream_unittest.cc void InitSession(MockRead* reads, size_t reads_count, MockRead 318 net/spdy/spdy_websocket_stream_unittest.cc MockRead reads[] = { MockRead 323 net/spdy/spdy_websocket_stream_unittest.cc MockRead(SYNCHRONOUS, 0, 8) // EOF cause OnCloseSpdyStream event. MockRead 393 net/spdy/spdy_websocket_stream_unittest.cc MockRead reads[] = { MockRead 396 net/spdy/spdy_websocket_stream_unittest.cc MockRead(SYNCHRONOUS, 0, 5) // EOF cause OnCloseSpdyStream event. MockRead 448 net/spdy/spdy_websocket_stream_unittest.cc MockRead reads[] = { MockRead 451 net/spdy/spdy_websocket_stream_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 5) MockRead 510 net/spdy/spdy_websocket_stream_unittest.cc MockRead reads[] = { MockRead 513 net/spdy/spdy_websocket_stream_unittest.cc MockRead(ASYNC, ERR_IO_PENDING, 6) MockRead 572 net/spdy/spdy_websocket_stream_unittest.cc MockRead reads[] = { MockRead 577 net/spdy/spdy_websocket_stream_unittest.cc MockRead(SYNCHRONOUS, 0, 7) // EOF cause OnCloseSpdyStream event. MockRead 229 net/url_request/url_request_ftp_job_unittest.cc void AddSocket(MockRead* reads, size_t reads_size, MockRead 261 net/url_request/url_request_ftp_job_unittest.cc MockRead reads[] = { MockRead 262 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 1, "HTTP/1.1 200 OK\r\n"), MockRead 263 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 2, "Content-Length: 9\r\n\r\n"), MockRead 264 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 3, "test.html"), MockRead 311 net/url_request/url_request_ftp_job_unittest.cc MockRead reads[] = { MockRead 313 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 1, "HTTP/1.1 407 Proxy Authentication Required\r\n"), MockRead 314 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 2, "Proxy-Authenticate: Basic " MockRead 316 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 3, "Content-Length: 9\r\n\r\n"), MockRead 317 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 4, "test.html"), MockRead 348 net/url_request/url_request_ftp_job_unittest.cc MockRead reads[] = { MockRead 350 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 1, "HTTP/1.1 407 Proxy Authentication Required\r\n"), MockRead 351 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 2, "Proxy-Authenticate: Basic " MockRead 353 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 3, "Content-Length: 9\r\n\r\n"), MockRead 354 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 4, "test.html"), MockRead 357 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 6, "HTTP/1.1 200 OK\r\n"), MockRead 358 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 7, "Content-Length: 10\r\n\r\n"), MockRead 359 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 8, "test2.html"), MockRead 388 net/url_request/url_request_ftp_job_unittest.cc MockRead reads[] = { MockRead 390 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 1, "HTTP/1.1 401 Unauthorized\r\n"), MockRead 391 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 2, "WWW-Authenticate: Basic " MockRead 393 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 3, "Content-Length: 9\r\n\r\n"), MockRead 394 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 4, "test.html"), MockRead 425 net/url_request/url_request_ftp_job_unittest.cc MockRead reads[] = { MockRead 427 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 1, "HTTP/1.1 401 Unauthorized\r\n"), MockRead 428 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 2, "WWW-Authenticate: Basic " MockRead 430 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 3, "Content-Length: 9\r\n\r\n"), MockRead 431 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 4, "test.html"), MockRead 434 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 6, "HTTP/1.1 200 OK\r\n"), MockRead 435 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 7, "Content-Length: 10\r\n\r\n"), MockRead 436 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 8, "test2.html"), MockRead 476 net/url_request/url_request_ftp_job_unittest.cc MockRead reads[] = { MockRead 478 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 1, "HTTP/1.1 407 Proxy Authentication Required\r\n"), MockRead 479 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 2, "Proxy-Authenticate: Basic " MockRead 481 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 3, "Content-Length: 9\r\n\r\n"), MockRead 482 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 4, "test.html"), MockRead 485 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 6, "HTTP/1.1 401 Unauthorized\r\n"), MockRead 486 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 7, "WWW-Authenticate: Basic " MockRead 488 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 8, "Content-Length: 9\r\n\r\n"), MockRead 489 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 9, "test.html"), MockRead 492 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 11, "HTTP/1.1 200 OK\r\n"), MockRead 493 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 12, "Content-Length: 10\r\n\r\n"), MockRead 494 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 13, "test2.html"), MockRead 533 net/url_request/url_request_ftp_job_unittest.cc MockRead reads[] = { MockRead 534 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 1, "HTTP/1.1 200 OK\r\n"), MockRead 535 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 2, "Content-Length: 9\r\n"), MockRead 536 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 3, "Set-Cookie: name=value\r\n\r\n"), MockRead 537 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 4, "test.html"), MockRead 569 net/url_request/url_request_ftp_job_unittest.cc MockRead reads[] = { MockRead 570 net/url_request/url_request_ftp_job_unittest.cc MockRead(SYNCHRONOUS, 1, "HTTP/1.1 302 Found\r\n"), MockRead 571 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 2, "Location: http://other.example.com/\r\n\r\n"), MockRead 609 net/url_request/url_request_ftp_job_unittest.cc MockRead reads[] = { MockRead 610 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 1, "HTTP/1.1 200 OK\r\n"), MockRead 611 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 2, "Content-Length: 10\r\n\r\n"), MockRead 612 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 3, "test1.html"), MockRead 613 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 5, "HTTP/1.1 200 OK\r\n"), MockRead 614 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 6, "Content-Length: 10\r\n\r\n"), MockRead 615 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 7, "test2.html"), MockRead 667 net/url_request/url_request_ftp_job_unittest.cc MockRead reads1[] = { MockRead 668 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 1, "HTTP/1.1 200 OK\r\n"), MockRead 669 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 2, "Content-Length: 10\r\n\r\n"), MockRead 670 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 3, "test1.html"), MockRead 672 net/url_request/url_request_ftp_job_unittest.cc MockRead reads2[] = { MockRead 673 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 1, "HTTP/1.1 200 OK\r\n"), MockRead 674 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 2, "Content-Length: 10\r\n\r\n"), MockRead 675 net/url_request/url_request_ftp_job_unittest.cc MockRead(ASYNC, 3, "test2.html"), MockRead 85 net/websockets/websocket_basic_stream_test.cc StrictStaticSocketDataProvider(MockRead* reads, MockRead 119 net/websockets/websocket_basic_stream_test.cc scoped_ptr<ClientSocketHandle> MakeTransportSocket(MockRead reads[], MockRead 146 net/websockets/websocket_basic_stream_test.cc void CreateStream(MockRead reads[], MockRead 159 net/websockets/websocket_basic_stream_test.cc void CreateReadOnly(MockRead (&reads)[N]) { MockRead 183 net/websockets/websocket_basic_stream_test.cc void CreateRead(const MockRead& read) { MockRead 188 net/websockets/websocket_basic_stream_test.cc MockRead reads_[1]; MockRead 216 net/websockets/websocket_basic_stream_test.cc reads_.reset(new MockRead[number_of_chunks]); MockRead 225 net/websockets/websocket_basic_stream_test.cc reads_[i] = MockRead(mode, start, len); MockRead 231 net/websockets/websocket_basic_stream_test.cc scoped_ptr<MockRead[]> reads_; MockRead 273 net/websockets/websocket_basic_stream_test.cc CreateRead(MockRead(SYNCHRONOUS, kSampleFrame, kSampleFrameSize)); MockRead 282 net/websockets/websocket_basic_stream_test.cc CreateRead(MockRead(ASYNC, kSampleFrame, kSampleFrameSize)); MockRead 316 net/websockets/websocket_basic_stream_test.cc MockRead reads[] = {MockRead(SYNCHRONOUS, kSampleFrame, 1), MockRead 317 net/websockets/websocket_basic_stream_test.cc MockRead(ASYNC, kSampleFrame + 1, kSampleFrameSize - 1)}; MockRead 329 net/websockets/websocket_basic_stream_test.cc MockRead reads[] = { MockRead 330 net/websockets/websocket_basic_stream_test.cc MockRead(SYNCHRONOUS, kPartialLargeFrame, kLargeFrameHeaderSize - 1), MockRead 331 net/websockets/websocket_basic_stream_test.cc MockRead(SYNCHRONOUS, ERR_IO_PENDING)}; MockRead 339 net/websockets/websocket_basic_stream_test.cc CreateRead(MockRead(SYNCHRONOUS, kPartialLargeFrame, kPartialLargeFrameSize)); MockRead 350 net/websockets/websocket_basic_stream_test.cc CreateRead(MockRead(SYNCHRONOUS, kPartialLargeFrame, kLargeFrameHeaderSize)); MockRead 362 net/websockets/websocket_basic_stream_test.cc MockRead reads[] = { MockRead 363 net/websockets/websocket_basic_stream_test.cc MockRead(SYNCHRONOUS, kPartialLargeFrame, kLargeFrameHeaderSize), MockRead 364 net/websockets/websocket_basic_stream_test.cc MockRead(ASYNC, MockRead 462 net/websockets/websocket_basic_stream_test.cc CreateRead(MockRead(SYNCHRONOUS, kMultipleFrames, kMultipleFramesSize)); MockRead 473 net/websockets/websocket_basic_stream_test.cc CreateRead(MockRead(SYNCHRONOUS, "", 0)); MockRead 480 net/websockets/websocket_basic_stream_test.cc CreateRead(MockRead(ASYNC, "", 0)); MockRead 491 net/websockets/websocket_basic_stream_test.cc CreateRead(MockRead(SYNCHRONOUS, ERR_CONNECTION_CLOSED)); MockRead 498 net/websockets/websocket_basic_stream_test.cc CreateRead(MockRead(ASYNC, ERR_CONNECTION_CLOSED)); MockRead 507 net/websockets/websocket_basic_stream_test.cc CreateRead(MockRead(SYNCHRONOUS, ERR_INSUFFICIENT_RESOURCES)); MockRead 514 net/websockets/websocket_basic_stream_test.cc CreateRead(MockRead(ASYNC, ERR_INSUFFICIENT_RESOURCES)); MockRead 541 net/websockets/websocket_basic_stream_test.cc MockRead reads[] = {MockRead(ASYNC, kSampleFrame, 1U), MockRead 542 net/websockets/websocket_basic_stream_test.cc MockRead(SYNCHRONOUS, "", 0)}; MockRead 552 net/websockets/websocket_basic_stream_test.cc MockRead reads[] = {MockRead(ASYNC, kSampleFrame, 1U), MockRead 553 net/websockets/websocket_basic_stream_test.cc MockRead(SYNCHRONOUS, ERR_CONNECTION_CLOSED)}; MockRead 562 net/websockets/websocket_basic_stream_test.cc CreateRead(MockRead(SYNCHRONOUS, kEmptyFirstFrame, kEmptyFirstFrameSize)); MockRead 572 net/websockets/websocket_basic_stream_test.cc MockRead reads[] = { MockRead 573 net/websockets/websocket_basic_stream_test.cc MockRead(SYNCHRONOUS, kEmptyFirstFrame, kEmptyFirstFrameSize), MockRead 574 net/websockets/websocket_basic_stream_test.cc MockRead(SYNCHRONOUS, kEmptyMiddleFrame, kEmptyMiddleFrameSize), MockRead 575 net/websockets/websocket_basic_stream_test.cc MockRead(SYNCHRONOUS, ERR_IO_PENDING)}; MockRead 587 net/websockets/websocket_basic_stream_test.cc MockRead reads[] = { MockRead 588 net/websockets/websocket_basic_stream_test.cc MockRead(SYNCHRONOUS, kEmptyFirstFrame, kEmptyFirstFrameSize), MockRead 589 net/websockets/websocket_basic_stream_test.cc MockRead(ASYNC, kEmptyMiddleFrame, kEmptyMiddleFrameSize), MockRead 592 net/websockets/websocket_basic_stream_test.cc MockRead(ASYNC, kValidPong, kValidPongSize)}; MockRead 607 net/websockets/websocket_basic_stream_test.cc MockRead(SYNCHRONOUS, kEmptyFinalTextFrame, kEmptyFinalTextFrameSize)); MockRead 617 net/websockets/websocket_basic_stream_test.cc MockRead reads[] = { MockRead 618 net/websockets/websocket_basic_stream_test.cc MockRead(SYNCHRONOUS, kEmptyFirstFrame, kEmptyFirstFrameSize), MockRead 619 net/websockets/websocket_basic_stream_test.cc MockRead(SYNCHRONOUS, kEmptyMiddleFrame, kEmptyMiddleFrameSize), MockRead 620 net/websockets/websocket_basic_stream_test.cc MockRead(SYNCHRONOUS, MockRead 651 net/websockets/websocket_basic_stream_test.cc CreateRead(MockRead(ASYNC, kSampleFrame + 1, kSampleFrameSize - 1)); MockRead 667 net/websockets/websocket_basic_stream_test.cc CreateRead(MockRead(ASYNC, MockRead 687 net/websockets/websocket_basic_stream_test.cc CreateRead(MockRead(SYNCHRONOUS, MockRead 698 net/websockets/websocket_basic_stream_test.cc CreateRead(MockRead(SYNCHRONOUS, kInvalidFrame, kInvalidFrameSize)); MockRead 705 net/websockets/websocket_basic_stream_test.cc CreateRead(MockRead(ASYNC, kInvalidFrame, kInvalidFrameSize)); MockRead 716 net/websockets/websocket_basic_stream_test.cc MockRead(SYNCHRONOUS, kPingFrameWithoutFin, kPingFrameWithoutFinSize)); MockRead 728 net/websockets/websocket_basic_stream_test.cc CreateRead(MockRead(SYNCHRONOUS, k126BytePong, k126BytePongSize)); MockRead 903 net/websockets/websocket_job_test.cc MockRead reads[] = { MockRead 904 net/websockets/websocket_job_test.cc MockRead(ASYNC, MockRead 908 net/websockets/websocket_job_test.cc MockRead(ASYNC, MockRead 912 net/websockets/websocket_job_test.cc MockRead(SYNCHRONOUS, 0, 5) // EOF MockRead 977 net/websockets/websocket_job_test.cc MockRead reads_websocket[] = { MockRead 978 net/websockets/websocket_job_test.cc MockRead(ASYNC, MockRead 982 net/websockets/websocket_job_test.cc MockRead(ASYNC, MockRead 986 net/websockets/websocket_job_test.cc MockRead(SYNCHRONOUS, 0, 5) // EOF MockRead 1031 net/websockets/websocket_job_test.cc MockRead reads_spdy[] = { MockRead 1034 net/websockets/websocket_job_test.cc MockRead(SYNCHRONOUS, 0, 5) // EOF MockRead 976 net/websockets/websocket_stream_test.cc MockRead reads[] = { MockRead 977 net/websockets/websocket_stream_test.cc MockRead(ASYNC, 1, "HTTP/1.1 101 Switching Protocols\r\nUpgr"), MockRead 1019 net/websockets/websocket_stream_test.cc MockRead reads[] = {MockRead(ASYNC, 0, 1)}; MockRead 73 net/websockets/websocket_test_util.cc std::vector<MockRead> reads; MockRead 108 net/websockets/websocket_test_util.cc MockRead(SYNCHRONOUS, detail_->return_to_read.data() + place,