Index: chrome/common/file_system/webfilesystem_impl.cc |
diff --git a/chrome/common/file_system/webfilesystem_impl.cc b/chrome/common/file_system/webfilesystem_impl.cc |
index 9128cf1e139f0c37bb488a1b6e1cf25583470032..5b180f64d89ae50d0d5faa85cebe3d4989b6be21 100644 |
--- a/chrome/common/file_system/webfilesystem_impl.cc |
+++ b/chrome/common/file_system/webfilesystem_impl.cc |
@@ -47,6 +47,16 @@ void WebFileSystemImpl::remove(const WebString& path, |
FileSystemDispatcher* dispatcher = |
ChildThread::current()->file_system_dispatcher(); |
dispatcher->Remove(webkit_glue::WebStringToFilePath(path), |
+ false /* recursive */, |
+ new WebFileSystemCallbackDispatcher(callbacks)); |
+} |
+ |
+void WebFileSystemImpl::removeRecursively(const WebString& path, |
+ WebFileSystemCallbacks* callbacks) { |
+ FileSystemDispatcher* dispatcher = |
+ ChildThread::current()->file_system_dispatcher(); |
+ dispatcher->Remove(webkit_glue::WebStringToFilePath(path), |
+ true /* recursive */, |
new WebFileSystemCallbackDispatcher(callbacks)); |
} |
@@ -104,4 +114,3 @@ WebKit::WebFileWriter* WebFileSystemImpl::createFileWriter( |
const WebString& path, WebKit::WebFileWriterClient* client) { |
return new WebFileWriterImpl(path, client); |
} |
- |