Index: public/platform/WebFileSystemCallbacks.h |
diff --git a/public/platform/WebFileSystemCallbacks.h b/public/platform/WebFileSystemCallbacks.h |
index 2ae6dc52fb4eb55b1eb756e0b68e989fedc4d03a..ece9b5e273edd9bfba5bc1382e868bed4a7c3ef7 100644 |
--- a/public/platform/WebFileSystemCallbacks.h |
+++ b/public/platform/WebFileSystemCallbacks.h |
@@ -34,6 +34,7 @@ |
#include "WebCommon.h" |
#include "WebFileError.h" |
#include "WebFileSystemEntry.h" |
+#include "WebFileSystemType.h" |
#include "WebPrivatePtr.h" |
#include "WebVector.h" |
@@ -90,6 +91,11 @@ public: |
// root URL for the FileSystem when the request is accepted. |
WEBKIT_EXPORT void didOpenFileSystem(const WebString& name, const WebURL& rootURL); |
+ // Callback for WebFileSystem::resolveURL. Called with a name, root URL and |
+ // file path for the FileSystem when the request is accepted. |isDirectory| |
+ // must be true when an entry to be resolved is a directory. |
+ WEBKIT_EXPORT void didResolveURL(const WebString& name, const WebURL& rootURL, WebFileSystemType, const WebString& filePath, bool isDirectory); |
+ |
// Callback for WebFileSystem::createFileWriter. Called with an instance |
// of WebFileWriter and the target file length. The writer's ownership |
// is transferred to the callback. |