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

Unified Diff: webkit/glue/plugins/pepper_file_system.cc

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
« no previous file with comments | « webkit/fileapi/file_system_operation_unittest.cc ('k') | webkit/tools/test_shell/simple_file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/pepper_file_system.cc
===================================================================
--- webkit/glue/plugins/pepper_file_system.cc (revision 61078)
+++ webkit/glue/plugins/pepper_file_system.cc (working copy)
@@ -54,6 +54,10 @@
RunCallback(error_code);
}
+ virtual void DidWrite(int64 bytes, bool complete) {
+ NOTREACHED();
+ }
+
private:
void RunCallback(base::PlatformFileError error_code) {
if (!module_.get() || !callback_.func)
@@ -105,6 +109,10 @@
RunCallback(error_code, base::PlatformFileInfo());
}
+ virtual void DidWrite(int64 bytes, bool complete) {
+ NOTREACHED();
+ }
+
private:
void RunCallback(base::PlatformFileError error_code,
const base::PlatformFileInfo& file_info) {
« no previous file with comments | « webkit/fileapi/file_system_operation_unittest.cc ('k') | webkit/tools/test_shell/simple_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698