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

Unified Diff: Source/web/WebFileSystemCallbacksImpl.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/WebFileSystemCallbacksImpl.cpp
diff --git a/Source/web/WebFileSystemCallbacksImpl.cpp b/Source/web/WebFileSystemCallbacksImpl.cpp
index 619ba58c9ca8dbf7de27fa053bf931c5b8754426..9c812e3e6c1a2fca74e9b09bdcf901e754833fcd 100644
--- a/Source/web/WebFileSystemCallbacksImpl.cpp
+++ b/Source/web/WebFileSystemCallbacksImpl.cpp
@@ -107,6 +107,13 @@ void WebFileSystemCallbacksImpl::didOpenFileSystem(const WebString& name, const
m_callbacks->didOpenFileSystem(name, rootURL, AsyncFileSystemChromium::create());
}
+void WebFileSystemCallbacksImpl::didResolveURL(const WebString& name, const WebURL& rootURL, const WebString& filePath, bool isDirectory)
+{
+ // This object is intended to delete itself on exit.
+ OwnPtr<WebFileSystemCallbacksImpl> callbacks = adoptPtr(this);
+ m_callbacks->didResolveURL(name, rootURL, filePath, isDirectory, AsyncFileSystemChromium::create());
+}
+
void WebFileSystemCallbacksImpl::didCreateFileWriter(WebFileWriter* webFileWriter, long long length)
{
// This object is intended to delete itself on exit.

Powered by Google App Engine
This is Rietveld 408576698