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

Unified Diff: Source/web/WorkerFileSystemClient.cpp

Issue 23537011: FileAPI: Add WebFileSystem::resolveURL (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/WorkerFileSystemClient.cpp
diff --git a/Source/web/WorkerFileSystemClient.cpp b/Source/web/WorkerFileSystemClient.cpp
index 4f94dd7db0f714cdb86b87a75dced4cdd0a3c041..4215df81cb14c9f9fa53a44aba51e91087520d3a 100644
--- a/Source/web/WorkerFileSystemClient.cpp
+++ b/Source/web/WorkerFileSystemClient.cpp
@@ -115,6 +115,11 @@ void WorkerFileSystemClient::openFileSystem(ScriptExecutionContext* context, Web
WebKit::Platform::current()->fileSystem()->openFileSystem(storagePartition, static_cast<WebFileSystemType>(type), openMode == CreateFileSystemIfNotPresent, new WebKit::WebFileSystemCallbacksImpl(callbacks));
}
+void WorkerFileSystemClient::resolveURL(KURL completedURL, PassOwnPtr<AsyncFileSystemCallbacks> callbacks)
+{
+ WebKit::Platform::current()->fileSystem()->resolveURL(completedURL, new WebKit::WebFileSystemCallbacksImpl(callbacks));
+}
+
void WorkerFileSystemClient::deleteFileSystem(WebCore::ScriptExecutionContext*, WebCore::FileSystemType, PassOwnPtr<WebCore::AsyncFileSystemCallbacks>)
{
ASSERT_NOT_REACHED();

Powered by Google App Engine
This is Rietveld 408576698