summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/native_file_util.h
Commit message (Collapse)AuthorAgeFilesLines
* Move src/dest info out of FileSystemOperationContextkinuko@chromium.org2012-02-261-21/+21
| | | | | | | | | | | | | | | | | Current FileSystemOperationContext has both src and dest path file info in it but this is making the code for cross-FileUtil operations way complex. This patch removes src/dest information from FileSystemOperationContext and instead: - introduce new FileSystemPath class, which represents a file path information in a filesystem - replace all the FilePath args in FileSystemFileUtil with FileSystemPath The resulting code still has some ugly part, and if we get rid of cross-FU operations from each FU code eventually we may end up converting FileSystemPath back to FilePath, but I think this change is not far from the way we want to go. BUG=114732, 110121 TEST=existing tests Review URL: http://codereview.chromium.org/9413009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123689 0039d316-1c4b-4281-b951-d872f2087c98
* [Refactor] to rename and re-layer the file_util stack layers.dmikurube@google.com2011-09-051-0/+103
Splits FileSystemFileUtil into two classes. 1. FileSystemFileUtil (pure virtual and non-virtual functions + functions to forward to an underlying file_util.) 2. NativeFileUtil (FileUtil for OS-native operations) Renames *FileSystemFileUtil into *FileUtil except for FileSystemFileUtil. Renames *_file_system_file_util.{cc,h} into *_file_util.{cc,h}. Renames variable *_file_system_file_util into *_file_util. BUG=none TEST=All FileAPI-related tests Review URL: http://codereview.chromium.org/7470037 Patch from Dai Mikurube <dmikurube@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99641 0039d316-1c4b-4281-b951-d872f2087c98