diff options
Diffstat (limited to 'WebKit/chromium/public/WebFileSystem.h')
-rw-r--r-- | WebKit/chromium/public/WebFileSystem.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/WebKit/chromium/public/WebFileSystem.h b/WebKit/chromium/public/WebFileSystem.h index 641c169..b21235d 100644 --- a/WebKit/chromium/public/WebFileSystem.h +++ b/WebKit/chromium/public/WebFileSystem.h @@ -37,6 +37,8 @@ namespace WebKit { class WebFileSystemCallbacks; +class WebFileWriter; +class WebFileWriterClient; class WebFileSystem { public: @@ -100,6 +102,10 @@ public: // WebFileSystemCallbacks::didFail() must be called otherwise. virtual void readDirectory(const WebString& path, WebFileSystemCallbacks*) { WEBKIT_ASSERT_NOT_REACHED(); } + // Creates a WebFileWriter that can be used to write to the given file. + // This is a fast, synchronous call, and should not stat the filesystem. + virtual WebFileWriter* createFileWriter(const WebString& path, WebFileWriterClient*) { WEBKIT_ASSERT_NOT_REACHED(); return 0; } + protected: virtual ~WebFileSystem() { } }; |