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

Unified Diff: webkit/glue/plugins/pepper_plugin_delegate.h

Issue 3394017: Pepper's FileSystem implementation. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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
Index: webkit/glue/plugins/pepper_plugin_delegate.h
===================================================================
--- webkit/glue/plugins/pepper_plugin_delegate.h (revision 60236)
+++ webkit/glue/plugins/pepper_plugin_delegate.h (working copy)
@@ -19,8 +19,13 @@
namespace base {
class MessageLoopProxy;
+class Time;
}
+namespace fileapi {
+class FileSystemCallbackDispatcher;
+}
+
namespace gfx {
class Rect;
}
@@ -163,6 +168,21 @@
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.

Powered by Google App Engine
This is Rietveld 408576698