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

Unified Diff: webkit/fileapi/file_system_callback_dispatcher.h

Issue 3599011: Add truncate and cancel for FileWriter; write and tests will come in later CL... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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: webkit/fileapi/file_system_callback_dispatcher.h
===================================================================
--- webkit/fileapi/file_system_callback_dispatcher.h (revision 61078)
+++ webkit/fileapi/file_system_callback_dispatcher.h (working copy)
@@ -41,6 +41,9 @@
// Called with an error code when a requested operation has failed.
virtual void DidFail(base::PlatformFileError error_code) = 0;
+
+ // Callback for FileWriter's write() call.
+ virtual void DidWrite(int64 bytes, bool complete) = 0;
};
} // namespace fileapi
« no previous file with comments | « chrome/common/file_system/webfilesystem_callback_dispatcher.cc ('k') | webkit/fileapi/file_system_operation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698