summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/file_system_callback_dispatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/fileapi/file_system_callback_dispatcher.h')
-rw-r--r--webkit/fileapi/file_system_callback_dispatcher.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/webkit/fileapi/file_system_callback_dispatcher.h b/webkit/fileapi/file_system_callback_dispatcher.h
index 8504af9..c32e333 100644
--- a/webkit/fileapi/file_system_callback_dispatcher.h
+++ b/webkit/fileapi/file_system_callback_dispatcher.h
@@ -8,6 +8,9 @@
#include <vector>
#include "base/file_util_proxy.h"
+#include "base/logging.h"
+#include "base/platform_file.h"
+#include "base/process.h"
class GURL;
@@ -50,6 +53,14 @@ class FileSystemCallbackDispatcher {
// Callback for FileWriter's write() call.
virtual void DidWrite(int64 bytes, bool complete) = 0;
+
+ // Callback for OpenFile. This isn't in WebFileSystemCallbacks, as it's just
+ // for Pepper.
+ virtual void DidOpenFile(
+ base::PlatformFile file,
+ base::ProcessHandle peer_handle) {
+ NOTREACHED();
+ }
};
} // namespace fileapi