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

  /external/chromium_org/jingle/glue/
fake_ssl_client_socket_unittest.cc 45 class MockClientSocket : public net::StreamSocket {
47 virtual ~MockClientSocket() {}
272 scoped_ptr<MockClientSocket> mock_client_socket(new MockClientSocket());
  /external/chromium/net/socket/
socket_test_util.cc 620 MockClientSocket::MockClientSocket(net::NetLog* net_log)
626 bool MockClientSocket::SetReceiveBufferSize(int32 size) {
630 bool MockClientSocket::SetSendBufferSize(int32 size) {
634 void MockClientSocket::Disconnect() {
638 bool MockClientSocket::IsConnected() const {
642 bool MockClientSocket::IsConnectedAndIdle() const {
646 int MockClientSocket::GetPeerAddress(AddressList* address) const {
651 int MockClientSocket::GetLocalAddress(IPEndPoint* address) const {
659 const BoundNetLog& MockClientSocket::NetLog() const
    [all...]
transport_client_socket_pool_unittest.cc 48 class MockClientSocket : public ClientSocket {
50 MockClientSocket(const AddressList& addrlist)
282 return new MockClientSocket(addresses);
295 return new MockClientSocket(addresses);
    [all...]
socket_test_util.h 49 class MockClientSocket;
132 // The SocketDataProvider is an interface used by the MockClientSocket
142 // that it will be called via the MockClientSocket::OnReadComplete()
149 MockClientSocket* socket() { return socket_; }
150 void set_socket(MockClientSocket* socket) { socket_ = socket; }
157 MockClientSocket* socket_;
558 class MockClientSocket : public net::SSLClientSocket {
560 explicit MockClientSocket(net::NetLog* net_log);
563 // ERR_IO_PENDING, then the MockClientSocket waits until this OnReadComplete
595 virtual ~MockClientSocket();
    [all...]
client_socket_pool_base_unittest.cc 46 class MockClientSocket : public ClientSocket {
48 MockClientSocket() : connected_(false), was_used_to_convey_data_(false) {}
97 DISALLOW_COPY_AND_ASSIGN(MockClientSocket);
197 set_socket(new MockClientSocket());
    [all...]
  /external/chromium_org/net/socket/
transport_client_socket_pool_unittest.cc 87 class MockClientSocket : public StreamSocket {
89 MockClientSocket(const AddressList& addrlist, net::NetLog* net_log)
156 DISALLOW_COPY_AND_ASSIGN(MockClientSocket);
375 new MockClientSocket(addresses, net_log_));
398 new MockClientSocket(addresses, net_log_));
    [all...]
socket_test_util.cc 698 const char MockClientSocket::kTlsUnique[] = "MOCK_TLSUNIQ";
700 MockClientSocket::MockClientSocket(const BoundNetLog& net_log)
709 bool MockClientSocket::SetReceiveBufferSize(int32 size) {
713 bool MockClientSocket::SetSendBufferSize(int32 size) {
717 void MockClientSocket::Disconnect() {
721 bool MockClientSocket::IsConnected() const {
725 bool MockClientSocket::IsConnectedAndIdle() const {
729 int MockClientSocket::GetPeerAddress(IPEndPoint* address) const {
736 int MockClientSocket::GetLocalAddress(IPEndPoint* address) const
    [all...]
client_socket_pool_base_unittest.cc 115 class MockClientSocket : public StreamSocket {
117 explicit MockClientSocket(net::NetLog* net_log)
182 DISALLOW_COPY_AND_ASSIGN(MockClientSocket);
298 scoped_ptr<StreamSocket>(new MockClientSocket(net_log().net_log())));
    [all...]
socket_test_util.h 50 class MockClientSocket;
194 // The SocketDataProvider is an interface used by the MockClientSocket
662 class MockClientSocket : public SSLClientSocket {
669 explicit MockClientSocket(const BoundNetLog& net_log);
706 virtual ~MockClientSocket();
718 base::WeakPtrFactory<MockClientSocket> weak_factory_;
720 DISALLOW_COPY_AND_ASSIGN(MockClientSocket);
723 class MockTCPClientSocket : public MockClientSocket, public AsyncSocket {
875 : public MockClientSocket,
    [all...]

Completed in 243 milliseconds