summaryrefslogtreecommitdiffstats
path: root/webkit/browser/fileapi/isolated_file_system_backend.cc
Commit message (Collapse)AuthorAgeFilesLines
* AsyncFileUtil::CreateForLocalFileSystem() and deprecate IsolatedFileUtilkinuko@chromium.org2013-09-131-2/+2
| | | | | | | | | | | | | | | | - Add static method AsyncFileUtil::CreateForLocalFileSystem() that creates a new instance to operate on LocalFileSystem using url.path() - Remove dependency to async_file_util_adapter.h and isolated_file_util.h from chrome/ - Rename isolated_file_util* to dragged_file_util* as it now only contains implementation for DraggedFileUtil BUG=265770 TBR=avi Review URL: https://chromiumcodereview.appspot.com/24044004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223022 0039d316-1c4b-4281-b951-d872f2087c98
* Instead introducing a static Create* methods to create ↵kinuko@chromium.org2013-09-121-5/+4
| | | | | | | | | | | | | | | | | | | | | FileStream{Reader,Writer} implementation that are defined in webkit/. New public static Create methods: - FileStreamReader::CreateForLocalFile() - FileStreamReader::CreateForFileSystemFile() - FileStreamWriter::CreateForLocalFile() As a preparation for moving fileapi code from webkit/ to content/. (webkit_blob / fileapi namespaces will be cleaned up when they're moved under content/) BUG=265770 Review URL: https://chromiumcodereview.appspot.com/23576016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222802 0039d316-1c4b-4281-b951-d872f2087c98
* Remove dependency to file_system_operation_impl.h outside from chrome/kinuko@chromium.org2013-09-091-2/+2
| | | | | | | | | | | | | | | | Instead introducing a static FileSystemOperation::Create method. As a preparation for moving fileapi code from webkit/ to content/. (file_system_operation.h will be placed under content/public/browser/ while file_system_operation_impl.{h,cc} will be placed under content/browser/fileapi and will be hidden from chrome/) BUG=265770 TEST=existing tests Review URL: https://chromiumcodereview.appspot.com/23835005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221976 0039d316-1c4b-4281-b951-d872f2087c98
* Deprecate FileSystemBackend::GetFileUtil()kinuko@chromium.org2013-08-301-15/+0
| | | | | | | | | BUG=272715 TEST=existing tests Review URL: https://chromiumcodereview.appspot.com/23601005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220444 0039d316-1c4b-4281-b951-d872f2087c98
* Deprecate FileSystemTaskRunnerskinuko@chromium.org2013-08-041-3/+2
| | | | | | | | | | | | | Now it only has two members, IO and default file task runner, and only file runner accessor is used. BUG=266232 TEST=compile R=satorux@chromium.org, tzik@chromium.org, vandebo@chromium.org Review URL: https://codereview.chromium.org/20989003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215538 0039d316-1c4b-4281-b951-d872f2087c98
* Rename fileapi::LocalFileSystemOperation to FileSystemOperationImpl.hidehiko@chromium.org2013-08-011-2/+2
| | | | | | | | | | | | | Drive File System starts to use LocalFileSystemOperation, so it is no longer "local". As it is the default implementation of FileSystemOperation, this CL renames it to FileSystemOperationImpl BUG=261477 TEST=Ran unit_tests Review URL: https://chromiumcodereview.appspot.com/21370003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215033 0039d316-1c4b-4281-b951-d872f2087c98
* FileAPI: Add Initialize() function to FileSystemBackendnhiroki@chromium.org2013-07-241-3/+5
| | | | | | | | | | | | | | | | | | | | This is a preliminary change for adding SyncFileSystemBackend. At first, we planed to do initializing process for SyncFileSystemBackend in InitializeFileSystem(), but it revealed that there are some hassles on that way (see [*]), so we decieded to introduce a separate initialze function and to rename InitializeFileSystem() to its original name (i.e. OpenFileSystem()). [*] https://codereview.chromium.org/18668003/ BUG=242422 TEST=should pass all existing tests NOTRY=true Review URL: https://chromiumcodereview.appspot.com/19632004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213382 0039d316-1c4b-4281-b951-d872f2087c98
* FileAPI: Change FileSystemBackend::OpenFileSystem signaturenhiroki@chromium.org2013-07-171-2/+3
| | | | | | | | | | | | | | | | | This change renames FileSystemBackend::OpenFileSystem to InitializeFileSystem and makes it accept FileSystemContext object as one of its arguments. This is a preliminary change for adding SyncFileSystemBackend in the following change sets. Please see the issue for details. BUG=242422 TEST=should pass all existing tests NOTRY=true Review URL: https://chromiumcodereview.appspot.com/19092002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211888 0039d316-1c4b-4281-b951-d872f2087c98
* FileAPI: Factor out getting root URI and FS name parts into each FS backendnhiroki@chromium.org2013-07-121-1/+4
| | | | | | | | | | | | | | We plan to introduce SyncFileSystemBackend to remove SyncFS related code from webkit/browser/fileapi. To do that, this change moves getting root URI and filesystem name parts from FileSystemContext to each FileSystemBackend. BUG=242422 TEST=content_unittests R=kinuko@chromium.org, satorux@chromium.org, tzik@chromium.org Review URL: https://codereview.chromium.org/18300006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211318 0039d316-1c4b-4281-b951-d872f2087c98
* fileapi: Rename FileSystemMountProvider to FileSystemBackendsatorux@chromium.org2013-07-091-0/+141
The old name is a misnomer as this class no longer provides mount points! Per some discussion, FileSystemBackend matches what the class is currently doing and trying to be. BUG=257016 TEST=none TBR=hidehiko@chromium.org, joi@chromium.org, kinuko@chromium.org, vandebo@chromium.org # for one-line #include renames in chrome/browser/browsing_data/browsing_data_file_system_helper.cc chrome/browser/extensions/component_loader.cc chrome/browser/extensions/extension_service.cc Review URL: https://codereview.chromium.org/18344013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210480 0039d316-1c4b-4281-b951-d872f2087c98