Home
last modified time | relevance | path

Searched refs:SocketReader (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/remoting/base/
Dsocket_reader.cc21 SocketReader::SocketReader() in SocketReader() function in remoting::SocketReader
26 SocketReader::~SocketReader() { in ~SocketReader()
29 void SocketReader::Init(net::Socket* socket, in Init()
39 void SocketReader::DoRead() { in DoRead()
45 base::Bind(&SocketReader::OnRead, weak_factory_.GetWeakPtr())); in DoRead()
52 void SocketReader::OnRead(int result) { in OnRead()
58 void SocketReader::HandleReadResult(int result) { in HandleReadResult()
64 base::Bind(&SocketReader::CallCallback, weak_factory_.GetWeakPtr(), in HandleReadResult()
69 void SocketReader::CallCallback(scoped_refptr<net::IOBuffer> data, int result) { in CallCallback()
Dsocket_reader.h23 class SocketReader {
30 SocketReader();
31 ~SocketReader();
48 base::WeakPtrFactory<SocketReader> weak_factory_;
50 DISALLOW_COPY_AND_ASSIGN(SocketReader);
/external/chromium_org/chrome/browser/
Dprocess_singleton_posix.cc471 class SocketReader : public base::MessageLoopForIO::Watcher { class in ProcessSingleton::LinuxWatcher
473 SocketReader(ProcessSingleton::LinuxWatcher* parent, in SocketReader() function in ProcessSingleton::LinuxWatcher::SocketReader
486 this, &SocketReader::CleanupAndDeleteSelf); in SocketReader()
489 virtual ~SocketReader() { in ~SocketReader()
530 base::OneShotTimer<SocketReader> timer_;
532 DISALLOW_COPY_AND_ASSIGN(SocketReader);
550 SocketReader* reader);
577 void RemoveSocketReader(SocketReader* reader);
588 std::set<SocketReader*> readers_;
606 SocketReader* reader = new SocketReader(this, in OnFileCanReadWithoutBlocking()
[all …]