From 07c3d212963a1638659c4130f05bd5196957b2f6 Mon Sep 17 00:00:00 2001 From: "ericu@google.com" Date: Sat, 16 Apr 2011 00:02:53 +0000 Subject: 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 --- webkit/fileapi/file_system_callback_dispatcher.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'webkit/fileapi/file_system_callback_dispatcher.h') 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 #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 -- cgit v1.1