diff options
author | dumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-27 23:55:06 +0000 |
---|---|---|
committer | dumi@chromium.org <dumi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-27 23:55:06 +0000 |
commit | 1e5f2f31b90115fc4affc00115d5503f65031f4d (patch) | |
tree | bd5d3768a9fc9d5946a4289ba619a56930817f3f /webkit/glue/plugins/pepper_plugin_delegate.h | |
parent | 60745416082f8f0eebca05ad50da4bc0786f5a20 (diff) | |
download | chromium_src-1e5f2f31b90115fc4affc00115d5503f65031f4d.zip chromium_src-1e5f2f31b90115fc4affc00115d5503f65031f4d.tar.gz chromium_src-1e5f2f31b90115fc4affc00115d5503f65031f4d.tar.bz2 |
Pepper's FileSystem implementation.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3394017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60729 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/pepper_plugin_delegate.h')
-rw-r--r-- | webkit/glue/plugins/pepper_plugin_delegate.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/webkit/glue/plugins/pepper_plugin_delegate.h b/webkit/glue/plugins/pepper_plugin_delegate.h index 3bd8897..1bb4bed 100644 --- a/webkit/glue/plugins/pepper_plugin_delegate.h +++ b/webkit/glue/plugins/pepper_plugin_delegate.h @@ -21,6 +21,11 @@ class AudioMessageFilter; namespace base { class MessageLoopProxy; +class Time; +} + +namespace fileapi { +class FileSystemCallbackDispatcher; } namespace gfx { @@ -169,6 +174,21 @@ class PluginDelegate { virtual bool AsyncOpenFile(const FilePath& path, int flags, AsyncOpenFileCallback* callback) = 0; + virtual bool MakeDirectory( + const FilePath& path, + bool recursive, + fileapi::FileSystemCallbackDispatcher* dispatcher) = 0; + virtual bool Query(const FilePath& path, + fileapi::FileSystemCallbackDispatcher* dispatcher) = 0; + virtual bool Touch(const FilePath& path, + const base::Time& last_access_time, + const base::Time& last_modified_time, + fileapi::FileSystemCallbackDispatcher* dispatcher) = 0; + virtual bool Delete(const FilePath& path, + fileapi::FileSystemCallbackDispatcher* dispatcher) = 0; + virtual bool Rename(const FilePath& file_path, + const FilePath& new_file_path, + fileapi::FileSystemCallbackDispatcher* dispatcher) = 0; // Returns a MessageLoopProxy instance associated with the message loop // of the file thread in this renderer. |