Lines Matching refs:success_callback
29 const base::Callback<void(size_t)>& success_callback, in ReadAsync() argument
39 auto callback = base::Bind(&Stream::IgnoreEOSCallback, success_callback); in ReadAsync()
48 const base::Closure& success_callback, in ReadAllAsync() argument
60 size_to_read, success_callback, error_callback); in ReadAllAsync()
104 const base::Callback<void(size_t)>& success_callback, in WriteAsync() argument
115 return WriteAsyncImpl(buffer, size_to_write, success_callback, error_callback, in WriteAsync()
121 const base::Closure& success_callback, in WriteAllAsync() argument
133 size_to_write, success_callback, error_callback); in WriteAllAsync()
177 bool Stream::FlushAsync(const base::Closure& success_callback, in FlushAsync() argument
182 success_callback, error_callback); in FlushAsync()
188 const base::Callback<void(size_t)>& success_callback, in IgnoreEOSCallback() argument
191 success_callback.Run(bytes); in IgnoreEOSCallback()
197 const base::Callback<void(size_t, bool)>& success_callback, in ReadAsyncImpl() argument
217 success_callback, read, eos)); in ReadAsyncImpl()
220 success_callback.Run(read, eos); in ReadAsyncImpl()
228 buffer, size_to_read, success_callback, error_callback), in ReadAsyncImpl()
234 const base::Callback<void(size_t, bool)>& success_callback, in OnReadAsyncDone() argument
238 success_callback.Run(bytes_read, eos); in OnReadAsyncDone()
244 const base::Callback<void(size_t, bool)>& success_callback, in OnReadAvailable() argument
253 if (!ReadAsyncImpl(buffer, size_to_read, success_callback, error_callback, in OnReadAvailable()
262 const base::Callback<void(size_t)>& success_callback, in WriteAsyncImpl() argument
281 success_callback, written)); in WriteAsyncImpl()
284 success_callback.Run(written); in WriteAsyncImpl()
291 buffer, size_to_write, success_callback, error_callback), in WriteAsyncImpl()
297 const base::Callback<void(size_t)>& success_callback, in OnWriteAsyncDone() argument
300 success_callback.Run(size_written); in OnWriteAsyncDone()
306 const base::Callback<void(size_t)>& success_callback, in OnWriteAvailable() argument
315 if (!WriteAsyncImpl(buffer, size, success_callback, error_callback, &error, in OnWriteAvailable()
323 const base::Closure& success_callback, in ReadAllAsyncCallback() argument
339 size_to_read, success_callback, error_callback); in ReadAllAsyncCallback()
345 success_callback.Run(); in ReadAllAsyncCallback()
351 const base::Closure& success_callback, in WriteAllAsyncCallback() argument
366 size_to_write, success_callback, error_callback); in WriteAllAsyncCallback()
372 success_callback.Run(); in WriteAllAsyncCallback()
376 void Stream::FlushAsyncCallback(const base::Closure& success_callback, in FlushAsyncCallback() argument
380 success_callback.Run(); in FlushAsyncCallback()