Home
last modified time | relevance | path

Searched refs:MockClientSocket (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/net/socket/
Dsocket_test_util.cc717 const char MockClientSocket::kTlsUnique[] = "MOCK_TLSUNIQ";
719 MockClientSocket::MockClientSocket(const BoundNetLog& net_log) in MockClientSocket() function in net::MockClientSocket
728 int MockClientSocket::SetReceiveBufferSize(int32 size) { in SetReceiveBufferSize()
732 int MockClientSocket::SetSendBufferSize(int32 size) { in SetSendBufferSize()
736 void MockClientSocket::Disconnect() { in Disconnect()
740 bool MockClientSocket::IsConnected() const { in IsConnected()
744 bool MockClientSocket::IsConnectedAndIdle() const { in IsConnectedAndIdle()
748 int MockClientSocket::GetPeerAddress(IPEndPoint* address) const { in GetPeerAddress()
755 int MockClientSocket::GetLocalAddress(IPEndPoint* address) const { in GetLocalAddress()
763 const BoundNetLog& MockClientSocket::NetLog() const { in NetLog()
[all …]
Dsocket_test_util.h51 class MockClientSocket; variable
675 class MockClientSocket : public SSLClientSocket {
682 explicit MockClientSocket(const BoundNetLog& net_log);
721 virtual ~MockClientSocket();
738 base::WeakPtrFactory<MockClientSocket> weak_factory_;
740 DISALLOW_COPY_AND_ASSIGN(MockClientSocket);
743 class MockTCPClientSocket : public MockClientSocket, public AsyncSocket {
898 : public MockClientSocket,
941 class MockSSLClientSocket : public MockClientSocket, public AsyncSocket {
Dclient_socket_pool_base_unittest.cc115 class MockClientSocket : public StreamSocket { class
117 explicit MockClientSocket(net::NetLog* net_log) in MockClientSocket() function in net::__anon4f8a475d0111::MockClientSocket
197 DISALLOW_COPY_AND_ASSIGN(MockClientSocket);
314 scoped_ptr<StreamSocket>(new MockClientSocket(net_log().net_log()))); in ConnectInternal()
394 static_cast<MockClientSocket*>(socket())->set_has_unread_data(true); in ConnectInternal()
/external/chromium_org/jingle/glue/
Dfake_ssl_client_socket_unittest.cc45 class MockClientSocket : public net::StreamSocket { class
47 virtual ~MockClientSocket() {} in ~MockClientSocket()
272 scoped_ptr<MockClientSocket> mock_client_socket(new MockClientSocket()); in TEST_F()
/external/chromium_org/net/spdy/
Dspdy_test_util_common.cc610 class FakeSpdySessionClientSocket : public MockClientSocket {
613 : MockClientSocket(BoundNetLog()), in FakeSpdySessionClientSocket()