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

Unified Diff: Source/web/LocalFileSystemClient.cpp

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: Source/web/LocalFileSystemClient.cpp
diff --git a/Source/web/LocalFileSystemClient.cpp b/Source/web/LocalFileSystemClient.cpp
index f9d6e7133213e2164967c9c6a76056996ef8c4c4..a3167a265f424ab8ffafa42fc325f0bb7a261d98 100644
--- a/Source/web/LocalFileSystemClient.cpp
+++ b/Source/web/LocalFileSystemClient.cpp
@@ -72,6 +72,11 @@ void LocalFileSystemClient::openFileSystem(ScriptExecutionContext* context, WebC
WebKit::Platform::current()->fileSystem()->openFileSystem(storagePartition, static_cast<WebFileSystemType>(type), openMode == CreateFileSystemIfNotPresent, callbacks);
}
+void LocalFileSystemClient::resolveURL(KURL fileSystemURL, PassOwnPtr<AsyncFileSystemCallbacks> callbacks)
+{
+ WebKit::Platform::current()->fileSystem()->resolveURL(fileSystemURL, callbacks);
+}
+
void LocalFileSystemClient::deleteFileSystem(ScriptExecutionContext* context, WebCore::FileSystemType type, PassOwnPtr<AsyncFileSystemCallbacks> callbacks)
{
KURL storagePartition = KURL(KURL(), context->securityOrigin()->toString());

Powered by Google App Engine
This is Rietveld 408576698