Changeset 68741 in webkit


Ignore:
Timestamp:
Sep 29, 2010 8:01:46 PM (14 years ago)
Author:
kinuko@chromium.org
Message:

2010-09-29 Kinuko Yasuda <kinuko@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.
Location:
trunk/WebKit/chromium
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/chromium/ChangeLog

    r68735 r68741  
     12010-09-29  Kinuko Yasuda  <kinuko@chromium.org>
     2
     3        Reviewed by Dumitru Daniliuc.
     4
     5        Add removeRecursively to WebKit WebFileSystem API
     6        https://bugs.webkit.org/show_bug.cgi?id=46842
     7
     8        * public/WebFileSystem.h:
     9        (WebKit::WebFileSystem::removeRecursively): Added.
     10
    1112010-09-29  Kinuko Yasuda  <kinuko@chromium.org>
    212
  • trunk/WebKit/chromium/public/WebFileSystem.h

    r67446 r68741  
    5959
    6060    // Deletes a file or directory at a given |path|.
     61    // It is an error to try to remove a directory that is not empty.
    6162    // WebFileSystemCallbacks::didSucceed() must be called when the operation is completed successfully.
    6263    // WebFileSystemCallbacks::didFail() must be called otherwise.
    6364    virtual void remove(const WebString& path, WebFileSystemCallbacks*) { WEBKIT_ASSERT_NOT_REACHED(); }
     65
     66    // Deletes a file or directory recursively at a given |path|.
     67    // WebFileSystemCallbacks::didSucceed() must be called when the operation is completed successfully.
     68    // WebFileSystemCallbacks::didFail() must be called otherwise.
     69    virtual void removeRecursively(const WebString& path, WebFileSystemCallbacks*) { WEBKIT_ASSERT_NOT_REACHED(); }
    6470
    6571    // Retrieves the metadata information of the file or directory at the given |path|.
Note: See TracChangeset for help on using the changeset viewer.