[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

kinuko at chromium.org kinuko at chromium.org
Wed Dec 22 13:56:29 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 174eee6c262181332eb56bcfb2e0dda0b567a1d9
Author: kinuko at chromium.org <kinuko at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Sep 30 03:01:46 2010 +0000

    2010-09-29  Kinuko Yasuda  <kinuko at chromium.org>
    
            Reviewed by Dumitru Daniliuc.
    
            Add removeRecursively to WebKit WebFileSystem API
            https://bugs.webkit.org/show_bug.cgi?id=46842
    
            * public/WebFileSystem.h:
            (WebKit::WebFileSystem::removeRecursively): Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68741 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/chromium/ChangeLog b/WebKit/chromium/ChangeLog
index bd0459e..e3a7645 100644
--- a/WebKit/chromium/ChangeLog
+++ b/WebKit/chromium/ChangeLog
@@ -1,5 +1,15 @@
 2010-09-29  Kinuko Yasuda  <kinuko at chromium.org>
 
+        Reviewed by Dumitru Daniliuc.
+
+        Add removeRecursively to WebKit WebFileSystem API
+        https://bugs.webkit.org/show_bug.cgi?id=46842
+
+        * public/WebFileSystem.h:
+        (WebKit::WebFileSystem::removeRecursively): Added.
+
+2010-09-29  Kinuko Yasuda  <kinuko at chromium.org>
+
         Reviewed by David Levin.
 
         Fix DirectoryReader's behavior to trigger only one EntriesCallback per readEntries
diff --git a/WebKit/chromium/public/WebFileSystem.h b/WebKit/chromium/public/WebFileSystem.h
index b21235d..7198f31 100644
--- a/WebKit/chromium/public/WebFileSystem.h
+++ b/WebKit/chromium/public/WebFileSystem.h
@@ -58,10 +58,16 @@ public:
     virtual void copy(const WebString& srcPath, const WebString& destPath, WebFileSystemCallbacks*) { WEBKIT_ASSERT_NOT_REACHED(); }
 
     // Deletes a file or directory at a given |path|.
+    // It is an error to try to remove a directory that is not empty.
     // WebFileSystemCallbacks::didSucceed() must be called when the operation is completed successfully.
     // WebFileSystemCallbacks::didFail() must be called otherwise.
     virtual void remove(const WebString& path, WebFileSystemCallbacks*) { WEBKIT_ASSERT_NOT_REACHED(); }
 
+    // Deletes a file or directory recursively at a given |path|.
+    // WebFileSystemCallbacks::didSucceed() must be called when the operation is completed successfully.
+    // WebFileSystemCallbacks::didFail() must be called otherwise.
+    virtual void removeRecursively(const WebString& path, WebFileSystemCallbacks*) { WEBKIT_ASSERT_NOT_REACHED(); }
+
     // Retrieves the metadata information of the file or directory at the given |path|.
     // WebFileSystemCallbacks::didReadMetadata() must be called with a valid metadata when the retrieval is completed successfully.
     // WebFileSystemCallbacks::didFail() must be called otherwise.

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list