summaryrefslogtreecommitdiffstats
path: root/webkit/browser/fileapi/remove_operation_delegate.h
Commit message (Collapse)AuthorAgeFilesLines
* Simplifies CopyOrMoveOperationDelegate implementation.hidehiko@chromium.org2013-09-191-0/+2
| | | | | | | | | | | | | RecursiveOperationDelegate supports PostProcessDirectory(), so CopyOrMoveOperationDelegate implementation can be simplified with the method. This is the preparation for preserving the last-modified-time. BUG=282107 TEST=Ran content_unittests and unit_tests Review URL: https://chromiumcodereview.appspot.com/23483055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224173 0039d316-1c4b-4281-b951-d872f2087c98
* Simplifies RemoveOperationDelegate implementation.hidehiko@chromium.org2013-09-191-7/+1
| | | | | | | | | | | | RecursiveOperationDelegate supports PostProcessDirectory(), so RemoveOperationDelegate implementation can be simplified with the moethd. BUG=282107 TEST=Ran content_unittests and unit_tests Review URL: https://chromiumcodereview.appspot.com/23844007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224168 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor RecursiveOperationDelegate to support PostProcessDirectory.hidehiko@chromium.org2013-09-181-0/+2
| | | | | | | | | | | | | | | | | | | This is refactoring CL as follows: 1) RecursiveOperationDelegate assumes the root is a file at first, and if the ProcessFile is failed, actually starts recursive operation. This is what CopyOrMoveOperationDelegate does. 2) Introduces PostProcessDirectory, which makes RecursiveOperationDelegate simpler (done in a following CL), and is useful to implement timestamp preserving. 3) Adds unittests for the RecursiveOperationDelegate. For the testing, exports RecursiveOperationDelegate. BUG=282107 TEST=Ran content_unittests and unit_tests Review URL: https://chromiumcodereview.appspot.com/23950012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223988 0039d316-1c4b-4281-b951-d872f2087c98
* Stop using SupportsWeakPtr when its weak ptr is only used in its classkinuko@chromium.org2013-08-091-4/+3
| | | | | | | | | BUG=none TEST=no tests break Review URL: https://chromiumcodereview.appspot.com/22666002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216557 0039d316-1c4b-4281-b951-d872f2087c98
* Add LocalFileSystemOperation support in FileSystemOperationRunnerkinuko@chromium.org2013-06-051-1/+0
| | | | | | | | | | | | | | | This change does: - Add LocalFileSystemOperation-only methods to FileSystemOperationRunner - Use FileSystemOperationRunner in recursive operation delegate implementations (CopyOrMove, Remove and their base class) - Stop creating extra FileSystemOperation for src_url in Copy/Move BUG=176444 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/16272010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204273 0039d316-1c4b-4281-b951-d872f2087c98
* Move browser-specific FileAPI code from webkit/fileapi to webkit/browser/fileapikinuko@chromium.org2013-05-281-0/+50
Moving following files: - file_system_context* - file_system_operation* - file_system_url* - and all others but not in syncable/ ones BUG=239710 TBR=avi@chromium.org, tzik@chromium.org Review URL: https://codereview.chromium.org/15859007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202482 0039d316-1c4b-4281-b951-d872f2087c98