Index: webkit/chromeos/fileapi/remote_file_stream_writer.cc |
=================================================================== |
--- webkit/chromeos/fileapi/remote_file_stream_writer.cc (revision 160294) |
+++ webkit/chromeos/fileapi/remote_file_stream_writer.cc (working copy) |
@@ -104,6 +104,12 @@ |
return net::ERR_UNEXPECTED; |
} |
+int RemoteFileStreamWriter::Flush(const net::CompletionCallback& callback) { |
+ // For remote file writer, Flush() is a no-op. Synchronization to the remote |
+ // server is not done until the file is closed. |
+ return net::OK; |
+} |
+ |
void RemoteFileStreamWriter::InvokePendingCancelCallback(int result) { |
net::CompletionCallback callback = pending_cancel_callback_; |
pending_cancel_callback_.Reset(); |