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

Unified Diff: public/platform/WebFileSystemCallbacks.h

Issue 23537011: FileAPI: Add WebFileSystem::resolveURL (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix Created 7 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: 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.
« Source/modules/filesystem/FileSystemClient.h ('K') | « public/platform/WebFileSystem.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698