summaryrefslogtreecommitdiffstats
path: root/chrome/common/file_system
Commit message (Collapse)AuthorAgeFilesLines
* Added ability to propogate create to suggest whether or not filesystem's ↵kkanetkar@chromium.org2010-11-032-2/+4
| | | | | | | | | | | | | root should be created if the path doesn't exist. BUG=None TEST=None Review URL: http://codereview.chromium.org/4350001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64862 0039d316-1c4b-4281-b951-d872f2087c98
* Moving Entry from base::file_util_proxy namespace to within class ↵kkanetkar@chromium.org2010-11-025-13/+5
| | | | | | | | | | | | base::FileUtilProxy BUG=None TEST=None Review URL: http://codereview.chromium.org/4261001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64806 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit http://codereview.chromium.org/3944001.dumi@chromium.org2010-10-202-36/+90
| | | | | | | | | | BUG=none TEST=none TBR=darin Review URL: http://codereview.chromium.org/3881002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63179 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 63153 - Update Pepper's FileSystem and FileRef implementations.dumi@chromium.org2010-10-202-90/+36
| | | | | | | | | | | | BUG=none TEST=test_file_ref, test_file_system, test_url_loader Review URL: http://codereview.chromium.org/3602008 TBR=dumi@chromium.org Review URL: http://codereview.chromium.org/3905002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63154 0039d316-1c4b-4281-b951-d872f2087c98
* Update Pepper's FileSystem and FileRef implementations.dumi@chromium.org2010-10-202-36/+90
| | | | | | | | | BUG=none TEST=test_file_ref, test_file_system, test_url_loader Review URL: http://codereview.chromium.org/3602008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63153 0039d316-1c4b-4281-b951-d872f2087c98
* SimpleFileWriter for test_shell and DRT.michaeln@chromium.org2010-10-142-184/+47
| | | | | | | | | BUG=none TEST=manual Review URL: http://codereview.chromium.org/3683004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62486 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmit of http://codereview.chromium.org/3476002/show but without the ↵ericu@google.com2010-10-072-33/+61
| | | | | | | | | | crashing bug. BUG=none TEST=none Review URL: http://codereview.chromium.org/3618016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61879 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 61833 - Add the actual writing-files part of FileWriter.ericu@google.com2010-10-072-61/+33
| | | | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3476002 TBR=ericu@google.com Review URL: http://codereview.chromium.org/3630002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61842 0039d316-1c4b-4281-b951-d872f2087c98
* Add the actual writing-files part of FileWriter.ericu@google.com2010-10-072-33/+61
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3476002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61833 0039d316-1c4b-4281-b951-d872f2087c98
* Reapply 61613 that was reverted for false valgrind alarm.kinuko@chromium.org2010-10-074-3/+17
| | | | | | | | | | | | | Original issue: http://codereview.chromium.org/3567012/show BUG=none TEST=FileSystemOperationTest.* TBR=ericu,thestig Review URL: http://codereview.chromium.org/3603014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61771 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 61613 - possible culprit for valgrind error. (Support ↵kinuko@chromium.org2010-10-064-17/+3
| | | | | | | | | | | removeRecursively and new copy/move) BUG=none TEST=none Review URL: http://codereview.chromium.org/3576017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61713 0039d316-1c4b-4281-b951-d872f2087c98
* Second try for support removeRecursively and new copy/move behaviors added ↵kinuko@chromium.org2010-10-064-3/+17
| | | | | | | | | | | | | | | | | | | | | | to the spec recently. http://lists.w3.org/Archives/Public/public-webapps/2010JulSep/1101.html > For a move/copy of a file on top of existing file, or a directory on > top of an existing empty directory, you get an automatic overwrite. > A move/copy of a file on top of an existing directory, or of a > directory on top of an existing file, will always fail. > A move/copy of a file or directory on top of an existing non-empty > directory will always fail. original issue: http://codereview.chromium.org/3567012 BUG=none TEST=FileSystemOperationTest.* TBR=ericu Review URL: http://codereview.chromium.org/3531012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61613 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 61480 - Support removeRecursively and new copy/move behaviors added ↵kinuko@chromium.org2010-10-054-17/+3
| | | | | | | | | | | | | | | | | | | | | to the spec recently. http://lists.w3.org/Archives/Public/public-webapps/2010JulSep/1101.html > For a move/copy of a file on top of existing file, or a directory on > top of an existing empty directory, you get an automatic overwrite. > A move/copy of a file on top of an existing directory, or of a > directory on top of an existing file, will always fail. > A move/copy of a file or directory on top of an existing non-empty > directory will always fail. BUG=32277 TEST=FileSystemOperationTest.* Review URL: http://codereview.chromium.org/3567012 TBR=kinuko@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61482 0039d316-1c4b-4281-b951-d872f2087c98
* Support removeRecursively and new copy/move behaviors added to the spec ↵kinuko@chromium.org2010-10-054-3/+17
| | | | | | | | | | | | | | | | | | | recently. http://lists.w3.org/Archives/Public/public-webapps/2010JulSep/1101.html > For a move/copy of a file on top of existing file, or a directory on > top of an existing empty directory, you get an automatic overwrite. > A move/copy of a file on top of an existing directory, or of a > directory on top of an existing file, will always fail. > A move/copy of a file or directory on top of an existing non-empty > directory will always fail. BUG=32277 TEST=FileSystemOperationTest.* Review URL: http://codereview.chromium.org/3567012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61480 0039d316-1c4b-4281-b951-d872f2087c98
* Second try at submitting 61462.ericu@google.com2010-10-053-27/+14
| | | | | | | | | BUG=none TEST=in file_system_operation_unittest.cc Review URL: http://codereview.chromium.org/3526018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61468 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 61462 - Add truncate and cancel for FileWriter; write and more tests ↵ericu@google.com2010-10-053-14/+27
| | | | | | | | | | | | | | | will come in later CLs. This CL also contains a fair amount of plumbing for the write call itself. BUG=none TEST=none Review URL: http://codereview.chromium.org/3599011 TBR=ericu@google.com Review URL: http://codereview.chromium.org/3604006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61463 0039d316-1c4b-4281-b951-d872f2087c98
* Add truncate and cancel for FileWriter; write and more tests will come in ↵ericu@google.com2010-10-053-27/+14
| | | | | | | | | | | | later CLs. This CL also contains a fair amount of plumbing for the write call itself. BUG=none TEST=none Review URL: http://codereview.chromium.org/3599011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61462 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Initialize data members in constructor.jhawkins@chromium.org2010-10-051-0/+1
| | | | | | | | | | | | CID=12798, 12835, 12921, 12922, 12923, 13083, 1408, 7026, 7027, 13052, 13058, 8295, 2289, 13026, 13133, 13233, 13184, 13183 BUG=none TEST=none Patch by Kausalya Madhusudhanan <kmadhusu@chromium.org> Review URL: http://codereview.chromium.org/3567011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61448 0039d316-1c4b-4281-b951-d872f2087c98
* Yet another try at submitting http://codereview.chromium.org/3397030/show.ericu@google.com2010-09-306-0/+303
| | | | | | | | | | | This hopefully fixes the linux x64 failure, which appears to be a disagreement between int64 and long long. BUG=none TEST=none Review URL: http://codereview.chromium.org/3601001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61020 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60981 - Resubmitting http://codereview.chromium.org/3397030 with the ↵ericu@google.com2010-09-296-299/+0
| | | | | | | | | | | | | | needed one-line deletion. Tested, reproed the breakage, verified the fix. BUG=none TEST=none TBR=ericu@google.com Review URL: http://codereview.chromium.org/3567006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60982 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmitting http://codereview.chromium.org/3397030 with the needed one-line ↵ericu@google.com2010-09-296-0/+299
| | | | | | | | | | | deletion. Tested, reproed the breakage, verified the fix. BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60981 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 60964 - This adds WebFileWriterImpl, which implements WebFileWriter ↵sky@chromium.org2010-09-296-300/+0
| | | | | | | | | | | | | | and AsyncFileWriterClient. BUG=none TEST=none Review URL: http://codereview.chromium.org/3397030 TBR=ericu@google.com Review URL: http://codereview.chromium.org/3590002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60966 0039d316-1c4b-4281-b951-d872f2087c98
* This adds WebFileWriterImpl, which implements WebFileWriter and ↵ericu@google.com2010-09-296-0/+300
| | | | | | | | | | | AsyncFileWriterClient. BUG=none TEST=none Review URL: http://codereview.chromium.org/3397030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60964 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a TouchFile() operation.dumi@chromium.org2010-09-272-0/+15
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3417018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60710 0039d316-1c4b-4281-b951-d872f2087c98
* Add Worker support for FileSystem API.kinuko@chromium.org2010-09-275-82/+171
| | | | | | | | | | | | | (corresponds to https://bugs.webkit.org/show_bug.cgi?id=45808) No support for shared workers yet. BUG=32277 TEST=none; layout tests will be added later. Review URL: http://codereview.chromium.org/3394003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60683 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor some file_system classes to use chromium types instead ofdumi@chromium.org2010-09-223-157/+223
| | | | | | | | | | | WebKit API types. BUG=none TEST=none Review URL: http://codereview.chromium.org/3406008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60152 0039d316-1c4b-4281-b951-d872f2087c98
* Change the FileSystem IPCs to take FilePaths as arguments instead ofdumi@chromium.org2010-09-161-11/+19
| | | | | | | | | | | | | string16s. FilePaths are better than string16s, because pepper uses FilePaths, and for the WebFileSystem API it doesn't matter, because it needs to do the string16 --> FilePath conversion once. TEST=none BUG=none Review URL: http://codereview.chromium.org/3383003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59697 0039d316-1c4b-4281-b951-d872f2087c98
* Integrate FileSystemOperation with FileSystemDispatcherHost.kinuko@chromium.org2010-09-081-1/+2
| | | | | | | | | | | | (This patch depends on unsubmitted change in file_util_proxy: http://codereview.chromium.org/3293009/show) BUG=32277 TEST=none; layout tests will be added later. Review URL: http://codereview.chromium.org/3328011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58870 0039d316-1c4b-4281-b951-d872f2087c98
* Moving file_util::FileInfo to base::PlatformFileInfo, and adding thedumi@chromium.org2010-09-032-4/+4
| | | | | | | | | | | | last_accessed and creation_time fields. BUG=none TEST=none Review URL: http://codereview.chromium.org/3347005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58454 0039d316-1c4b-4281-b951-d872f2087c98
* Add final part of IPC plumbing for FileSystem API (retry).kinuko@chromium.org2010-08-313-17/+147
| | | | | | | | | | | | | Original issue: http://codereview.chromium.org/3208007/show (Reverted due to rebase error) BUG=32277 TEST=none; to be added when we have complete implementation. TBR=phajdan-jr, michaeln Review URL: http://codereview.chromium.org/3256006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57955 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 57915 - Add final part of IPC plumbing for FileSystem API.kinuko@chromium.org2010-08-303-147/+17
| | | | | | | | | | | | BUG=32277 TEST=none; to be added when we have complete implementation. Review URL: http://codereview.chromium.org/3208007 TBR=kinuko@chromium.org,phajdan-jr Review URL: http://codereview.chromium.org/3245010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57923 0039d316-1c4b-4281-b951-d872f2087c98
* Add final part of IPC plumbing for FileSystem API.kinuko@chromium.org2010-08-303-17/+147
| | | | | | | | | BUG=32277 TEST=none; to be added when we have complete implementation. Review URL: http://codereview.chromium.org/3208007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57915 0039d316-1c4b-4281-b951-d872f2087c98
* Add WebFileSystemImpl and 2nd cut of IPC plumbing code for Move operation.kinuko@chromium.org2010-08-255-0/+250
Plumbing code for the remaining operations (Copy, Remove etc) will come later in a separate patch once this one becomes to look good. BUG=32277 TESTS=none, will be added later Review URL: http://codereview.chromium.org/3165040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57365 0039d316-1c4b-4281-b951-d872f2087c98