Index: webkit/tools/test_shell/simple_file_system.cc |
diff --git a/webkit/tools/test_shell/simple_file_system.cc b/webkit/tools/test_shell/simple_file_system.cc |
index 8e059ead4c608469716abbaae01692a9c81bdcf7..411d987d730f1959b5ec90ecee3fa71f0dfcbfcc 100644 |
--- a/webkit/tools/test_shell/simple_file_system.cc |
+++ b/webkit/tools/test_shell/simple_file_system.cc |
@@ -133,7 +133,14 @@ void SimpleFileSystem::remove( |
const WebString& path, WebFileSystemCallbacks* callbacks) { |
FilePath filepath(webkit_glue::WebStringToFilePath(path)); |
- GetNewOperation(callbacks)->Remove(filepath); |
+ GetNewOperation(callbacks)->Remove(filepath, false /* recursive */); |
+} |
+ |
+void SimpleFileSystem::removeRecursively( |
+ const WebString& path, WebFileSystemCallbacks* callbacks) { |
+ FilePath filepath(webkit_glue::WebStringToFilePath(path)); |
+ |
+ GetNewOperation(callbacks)->Remove(filepath, true /* recursive */); |
} |
void SimpleFileSystem::readMetadata( |