Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Unified Diff: chrome/browser/chromeos/drive/webkit_file_stream_writer_impl.h

Issue 19596003: Remove CloseFile from FileSystem. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/drive/webkit_file_stream_writer_impl.h
diff --git a/chrome/browser/chromeos/drive/webkit_file_stream_writer_impl.h b/chrome/browser/chromeos/drive/webkit_file_stream_writer_impl.h
index 1ddadba80436dd32f47074c0beaf3146aea91865..4efe3a0359eaa560cb2c61ce14ece244217b1f0a 100644
--- a/chrome/browser/chromeos/drive/webkit_file_stream_writer_impl.h
+++ b/chrome/browser/chromeos/drive/webkit_file_stream_writer_impl.h
@@ -58,7 +58,8 @@ class WebkitFileStreamWriterImpl : public fileapi::FileStreamWriter {
net::IOBuffer* buf,
int buf_len,
base::PlatformFileError open_result,
- const base::FilePath& local_path);
+ const base::FilePath& local_path,
+ const base::Closure& on_close_file_callback_on_ui_thread);
FileSystemGetter file_system_getter_;
scoped_refptr<base::TaskRunner> file_task_runner_;
@@ -66,6 +67,7 @@ class WebkitFileStreamWriterImpl : public fileapi::FileStreamWriter {
const int64 offset_;
scoped_ptr<fileapi::FileStreamWriter> local_file_writer_;
+ base::Closure on_close_file_callback_on_ui_thread_;
net::CompletionCallback pending_write_callback_;
net::CompletionCallback pending_cancel_callback_;

Powered by Google App Engine
This is Rietveld 408576698