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

Unified Diff: public/platform/WebFileSystem.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/WebFileSystem.h
diff --git a/public/platform/WebFileSystem.h b/public/platform/WebFileSystem.h
index f3479ca71610a95207f2e5af24672ab82ec180a4..b62ac4d7789e50d161726e1b122ce21498595076 100644
--- a/public/platform/WebFileSystem.h
+++ b/public/platform/WebFileSystem.h
@@ -65,6 +65,13 @@ public:
// create root path for file systems if it do not exist.
virtual void openFileSystem(const WebURL& storagePartition, const WebFileSystemType, bool create, WebFileSystemCallbacks) { WEBKIT_ASSERT_NOT_REACHED(); }
+ // Resolves a filesystem URL.
+ // WebFileSystemCallbacks::didSucceed() must be called with filesystem
+ // information (name, root path and type) and file metadata (file path and
+ // file type) when the operation is completed successfully.
+ // WebFileSystemCallbacks::didFail() must be called otherwise.
+ virtual void resolveURL(const WebURL& fileSystemURL, WebFileSystemCallbacks) { WEBKIT_ASSERT_NOT_REACHED(); }
+
// Deletes FileSystem.
// WebFileSystemCallbacks::didSucceed() must be called when the operation
// is completed successfully. WebFileSystemCallbacks::didFail() must be

Powered by Google App Engine
This is Rietveld 408576698