Home
last modified time | relevance | path

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

/external/chromium_org/net/base/
Dmock_file_stream.cc14 MockFileStream::MockFileStream( in MockFileStream() function in net::testing::MockFileStream
23 MockFileStream::MockFileStream( in MockFileStream() function in net::testing::MockFileStream
33 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 …]
Dmock_file_stream.h23 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_;
/external/chromium_org/content/browser/loader/
Dresource_loader_unittest.cc491 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_;