Home
last modified time | relevance | path

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

/external/libweave/src/
Dstreams.cc40 StreamCopier::StreamCopier(InputStream* source, OutputStream* destination) in StreamCopier() function in weave::StreamCopier
43 void StreamCopier::Copy(const InputStream::ReadCallback& callback) { in Copy()
45 base::Bind(&StreamCopier::OnReadDone, in Copy()
49 void StreamCopier::OnReadDone(const InputStream::ReadCallback& callback, in OnReadDone()
59 base::Bind(&StreamCopier::OnWriteDone, weak_ptr_factory_.GetWeakPtr(), in OnReadDone()
65 void StreamCopier::OnWriteDone(const InputStream::ReadCallback& callback, in OnWriteDone()
Dstreams.h38 class StreamCopier {
40 StreamCopier(InputStream* source, OutputStream* destination);
56 base::WeakPtrFactory<StreamCopier> weak_ptr_factory_{this};
Dstreams_unittest.cc33 StreamCopier copier{&source, &destination}; in TEST()