summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/file_system_callback_dispatcher.h
diff options
context:
space:
mode:
authorericu@google.com <ericu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-16 00:02:53 +0000
committerericu@google.com <ericu@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-16 00:02:53 +0000
commit07c3d212963a1638659c4130f05bd5196957b2f6 (patch)
treef9fcfd54a7e26b443b1b941f80475725cb4d79cd /webkit/fileapi/file_system_callback_dispatcher.h
parent5800f19aa9967928eca31752678ac7d8e4e0cd1d (diff)
downloadchromium_src-07c3d212963a1638659c4130f05bd5196957b2f6.zip
chromium_src-07c3d212963a1638659c4130f05bd5196957b2f6.tar.gz
chromium_src-07c3d212963a1638659c4130f05bd5196957b2f6.tar.bz2
Let Pepper open FileSystem files again.
TEST=none [existing tests, but they're not currently run automatically] BUG=none Review URL: http://codereview.chromium.org/6850027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81837 0039d316-1c4b-4281-b951-d872f2087c98
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