Searched refs:FakeUdpSocket (Results 1 – 2 of 2) sorted by relevance
214 FakeUdpSocket::FakeUdpSocket() in FakeUdpSocket() function in remoting::protocol::FakeUdpSocket220 FakeUdpSocket::~FakeUdpSocket() { in ~FakeUdpSocket()224 void FakeUdpSocket::AppendInputPacket(const char* data, int data_size) { in AppendInputPacket()240 int FakeUdpSocket::Read(net::IOBuffer* buf, int buf_len, in Read()258 int FakeUdpSocket::Write(net::IOBuffer* buf, int buf_len, in Write()266 bool FakeUdpSocket::SetReceiveBufferSize(int32 size) { in SetReceiveBufferSize()270 bool FakeUdpSocket::SetSendBufferSize(int32 size) { in SetSendBufferSize()293 FakeUdpSocket* FakeSession::GetDatagramChannel(const std::string& name) { in GetDatagramChannel()362 scoped_ptr<FakeUdpSocket> channel; in CreateDatagramChannel()366 channel.reset(new FakeUdpSocket()); in CreateDatagramChannel()
112 class FakeUdpSocket : public net::Socket {114 FakeUdpSocket();115 virtual ~FakeUdpSocket();145 DISALLOW_COPY_AND_ASSIGN(FakeUdpSocket);167 FakeUdpSocket* GetDatagramChannel(const std::string& name);205 std::map<std::string, FakeUdpSocket*> datagram_channels_;