Searched refs:MockFileStream (Results 1 – 3 of 3) sorted by relevance
14 MockFileStream::MockFileStream( in MockFileStream() function in net::testing::MockFileStream23 MockFileStream::MockFileStream( in MockFileStream() function in net::testing::MockFileStream33 MockFileStream::~MockFileStream() { in ~MockFileStream()36 int MockFileStream::Seek(base::File::Whence whence, int64 offset, in Seek()39 base::Bind(&MockFileStream::DoCallback64, in Seek()46 int MockFileStream::Read(IOBuffer* buf, in Read()49 CompletionCallback wrapped_callback = base::Bind(&MockFileStream::DoCallback, in Read()57 int MockFileStream::Write(IOBuffer* buf, in Write()60 CompletionCallback wrapped_callback = base::Bind(&MockFileStream::DoCallback, in Write()68 int MockFileStream::Flush(const CompletionCallback& callback) { in Flush()[all …]
23 class MockFileStream : public net::FileStream {25 explicit MockFileStream(const scoped_refptr<base::TaskRunner>& task_runner);26 MockFileStream(base::File file,28 virtual ~MockFileStream();100 base::WeakPtrFactory<MockFileStream> weak_factory_;
491 net::testing::MockFileStream* file_stream() const { return file_stream_; } in file_stream()515 scoped_ptr<net::testing::MockFileStream> file_stream( in WrapResourceHandler()516 new net::testing::MockFileStream(file.Pass(), in WrapResourceHandler()550 net::testing::MockFileStream* file_stream_;