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

Unified Diff: Source/core/platform/chromium/support/WebFileSystemCallbacks.cpp

Issue 23537011: FileAPI: Add WebFileSystem::resolveURL (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase 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/core/platform/chromium/support/WebFileSystemCallbacks.cpp
diff --git a/Source/core/platform/chromium/support/WebFileSystemCallbacks.cpp b/Source/core/platform/chromium/support/WebFileSystemCallbacks.cpp
index a0c7525956ebcba91ffd9b37653a97e009f6283c..2430c54e4e02dddad89fa9abe66139adf69e399c 100644
--- a/Source/core/platform/chromium/support/WebFileSystemCallbacks.cpp
+++ b/Source/core/platform/chromium/support/WebFileSystemCallbacks.cpp
@@ -128,6 +128,13 @@ void WebFileSystemCallbacks::didOpenFileSystem(const WebString& name, const WebU
m_private.reset();
}
+void WebFileSystemCallbacks::didResolveURL(const WebString& name, const WebURL& rootURL, WebFileSystemType type, const WebString& filePath, bool isDirectory)
+{
+ ASSERT(!m_private.isNull());
+ m_private->callbacks()->didResolveURL(name, rootURL, static_cast<WebCore::FileSystemType>(type), filePath, isDirectory);
+ m_private.reset();
+}
+
void WebFileSystemCallbacks::didCreateFileWriter(WebFileWriter* webFileWriter, long long length)
{
ASSERT(!m_private.isNull());

Powered by Google App Engine
This is Rietveld 408576698