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

Unified Diff: webkit/fileapi/sandbox_file_stream_writer.cc

Issue 10986045: Flush at the end of local file writing in FileWriter API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clean up. Created 8 years, 3 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
« no previous file with comments | « webkit/fileapi/sandbox_file_stream_writer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/sandbox_file_stream_writer.cc
diff --git a/webkit/fileapi/sandbox_file_stream_writer.cc b/webkit/fileapi/sandbox_file_stream_writer.cc
index a12e00e743293460cc9269fe76503569fd511e7f..a00136ea387a7a4b01e8df3b2b709043b05644fd 100644
--- a/webkit/fileapi/sandbox_file_stream_writer.cc
+++ b/webkit/fileapi/sandbox_file_stream_writer.cc
@@ -234,4 +234,10 @@ bool SandboxFileStreamWriter::CancelIfRequested() {
return true;
}
+int SandboxFileStreamWriter::Flush(const net::CompletionCallback& callback) {
+ // For now, Flush is meaningful only for local native file access. It is no-op
+ // for sandboxed filesystem files (see the discussion in crbug.com/144790).
+ return net::OK;
+}
+
} // namespace fileapi
« no previous file with comments | « webkit/fileapi/sandbox_file_stream_writer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698