HomeSort by relevance Sort by last modified time
    Searched defs:MockTCPClientSocket (Results 1 - 5 of 5) sorted by null

  /external/chromium_org/chrome/browser/extensions/api/cast_channel/
cast_socket_unittest.cc 39 class MockTCPClientSocket : public net::TCPClientSocket {
41 explicit MockTCPClientSocket() :
43 virtual ~MockTCPClientSocket() { }
100 mock_tcp_socket_(new MockTCPClientSocket()),
131 mock_tcp_socket_ = new MockTCPClientSocket();
152 MockTCPClientSocket* mock_tcp_socket_;
285 MockTCPClientSocket& mock_tcp_socket() {
286 MockTCPClientSocket* mock_socket = socket_->mock_tcp_socket_;
  /external/chromium_org/net/socket/
socket_test_util.cc 678 scoped_ptr<MockTCPClientSocket> socket(
679 new MockTCPClientSocket(addresses, net_log, data_provider));
796 MockTCPClientSocket::MockTCPClientSocket(const AddressList& addresses,
814 MockTCPClientSocket::~MockTCPClientSocket() {}
816 int MockTCPClientSocket::Read(IOBuffer* buf, int buf_len,
855 int MockTCPClientSocket::Write(IOBuffer* buf, int buf_len,
876 int MockTCPClientSocket::Connect(const CompletionCallback& callback) {
891 void MockTCPClientSocket::Disconnect()
    [all...]
socket_test_util.h 84 // is the data returned from the socket when MockTCPClientSocket::Read() is
86 // given in MockTCPClientSocket::Write().
619 class MockTCPClientSocket;
723 class MockTCPClientSocket : public MockClientSocket, public AsyncSocket {
725 MockTCPClientSocket(const AddressList& addresses,
728 virtual ~MockTCPClientSocket();
776 DISALLOW_COPY_AND_ASSIGN(MockTCPClientSocket);
    [all...]
  /external/chromium/net/socket/
socket_test_util.cc 579 MockTCPClientSocket* MockClientSocketFactory::GetMockTCPClientSocket(
596 MockTCPClientSocket* socket =
597 new MockTCPClientSocket(addresses, net_log, data_provider);
692 MockTCPClientSocket::MockTCPClientSocket(const net::AddressList& addresses,
710 int MockTCPClientSocket::Read(net::IOBuffer* buf, int buf_len,
743 int MockTCPClientSocket::Write(net::IOBuffer* buf, int buf_len,
764 int MockTCPClientSocket::Connect(net::CompletionCallback* callback) {
776 void MockTCPClientSocket::Disconnect() {
781 bool MockTCPClientSocket::IsConnected() const
    [all...]
socket_test_util.h 120 // meanings. The expected input to MockTCPClientSocket::Write() is given
503 class MockTCPClientSocket;
520 // Return |index|-th MockTCPClientSocket (starting from 0) that the factory
522 MockTCPClientSocket* GetMockTCPClientSocket(size_t index) const;
531 std::vector<MockTCPClientSocket*>& tcp_client_sockets() {
554 std::vector<MockTCPClientSocket*> tcp_client_sockets_;
607 class MockTCPClientSocket : public MockClientSocket {
609 MockTCPClientSocket(const net::AddressList& addresses, net::NetLog* net_log,
    [all...]

Completed in 53 milliseconds