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

Unified Diff: Source/modules/filesystem/LocalFileSystem.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/modules/filesystem/LocalFileSystem.cpp
diff --git a/Source/modules/filesystem/LocalFileSystem.cpp b/Source/modules/filesystem/LocalFileSystem.cpp
index 84950bbfe5ce67d9e664ae8cc4b93838f4c11ed5..2ca7cd9509ba41536fb48ea07611239af41f5ef9 100644
--- a/Source/modules/filesystem/LocalFileSystem.cpp
+++ b/Source/modules/filesystem/LocalFileSystem.cpp
@@ -56,13 +56,13 @@ LocalFileSystemBase::~LocalFileSystemBase()
{
}
-void LocalFileSystemBase::readFileSystem(ScriptExecutionContext* context, FileSystemType type, PassOwnPtr<AsyncFileSystemCallbacks> callbacks)
+void LocalFileSystemBase::resolveURL(ScriptExecutionContext* context, KURL fileSystemURL, PassOwnPtr<AsyncFileSystemCallbacks> callbacks)
{
if (!client() || !client()->allowFileSystem(context)) {
context->postTask(createCallbackTask(&fileSystemNotAllowed, callbacks));
return;
}
- client()->openFileSystem(context, type, callbacks, 0, OpenExistingFileSystem);
+ client()->resolveURL(fileSystemURL, callbacks);
kinuko 2013/09/12 05:58:14 Hmm, looks like we can directly call WebKit::Platf
nhiroki 2013/09/12 09:08:06 Done. I'll make a separate patch for other functio
}
void LocalFileSystemBase::requestFileSystem(ScriptExecutionContext* context, FileSystemType type, long long size, PassOwnPtr<AsyncFileSystemCallbacks> callbacks)
« no previous file with comments | « Source/modules/filesystem/LocalFileSystem.h ('k') | Source/modules/filesystem/WorkerGlobalScopeFileSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698