Home
last modified time | relevance | path

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

/external/chromium_org/storage/browser/fileapi/
Dlocal_file_stream_writer.cc31 return new LocalFileStreamWriter( in CreateForLocalFile()
35 LocalFileStreamWriter::~LocalFileStreamWriter() { in ~LocalFileStreamWriter()
45 int LocalFileStreamWriter::Write(net::IOBuffer* buf, int buf_len, in Write()
58 base::Bind(&LocalFileStreamWriter::ReadyToWrite, in Write()
63 int LocalFileStreamWriter::Cancel(const net::CompletionCallback& callback) { in Cancel()
72 int LocalFileStreamWriter::Flush(const net::CompletionCallback& callback) { in Flush()
87 LocalFileStreamWriter::LocalFileStreamWriter(base::TaskRunner* task_runner, in LocalFileStreamWriter() function in storage::LocalFileStreamWriter
98 int LocalFileStreamWriter::InitiateOpen( in InitiateOpen()
118 base::Bind(&LocalFileStreamWriter::DidOpen, in InitiateOpen()
124 void LocalFileStreamWriter::DidOpen( in DidOpen()
[all …]
Dlocal_file_stream_writer.h31 class STORAGE_EXPORT LocalFileStreamWriter
34 virtual ~LocalFileStreamWriter(); in NON_EXPORTED_BASE()
45 LocalFileStreamWriter(base::TaskRunner* task_runner, in NON_EXPORTED_BASE()
94 base::WeakPtrFactory<LocalFileStreamWriter> weak_factory_; in NON_EXPORTED_BASE()
95 DISALLOW_COPY_AND_ASSIGN(LocalFileStreamWriter); in NON_EXPORTED_BASE()
/external/chromium_org/content/browser/fileapi/
Dlocal_file_stream_writer_unittest.cc22 using storage::LocalFileStreamWriter;
48 int WriteStringToWriter(LocalFileStreamWriter* writer, in WriteStringToWriter()
84 LocalFileStreamWriter* CreateWriter(const base::FilePath& path, in CreateWriter()
86 return new LocalFileStreamWriter(file_task_runner(), path, offset, in CreateWriter()
102 scoped_ptr<LocalFileStreamWriter> writer(CreateWriter(path, 0)); in TEST_F()
113 scoped_ptr<LocalFileStreamWriter> writer(CreateWriter(path, 2)); in TEST_F()
123 scoped_ptr<LocalFileStreamWriter> writer(CreateWriter(path, 6)); in TEST_F()
134 scoped_ptr<LocalFileStreamWriter> writer(CreateWriter(path, 0)); in TEST_F()
143 scoped_ptr<LocalFileStreamWriter> writer(CreateWriter(path, 0)); in TEST_F()
151 scoped_ptr<LocalFileStreamWriter> writer(CreateWriter(path, 0)); in TEST_F()
[all …]