| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unfortunately, this brings in changes to webkit/browser/fileapi, and once
that changes, a lot of files have to be updated.
The bright side is that most of the collateral changes are just trivial
renaming of PlatformFileError -> File::Error and PlatformFileInfo ->
File::Info
BUG=322664
Review URL: https://codereview.chromium.org/145303002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247301 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This renames *OnFileThread methods to *OnFileTaskRunner because now they run
not on FILE thread but on file_task_runner. And also adds some DCHECK for
checking valid task_runner into SandboxFileSystemBackendDelegate.
BUG=n/a
TEST=n/a
TBR=michaeln@chromium.org,phajdan.jr@chromium.org
Review URL: https://codereview.chromium.org/101393006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242072 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change includes:
- Wiring up between QuotaReservationManager and FileSystemContext
- Adding a new interface into FileSystemQuotaUtil
- Exposing FileSystemContext::CreateQuotaReservationOnFileTaskRunner
as an entry point of the quota reservation.
BUG=303443
TEST=n/a
Review URL: https://codereview.chromium.org/66173003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234559 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes SandboxFileSystemBackendDelegate to implement FileSystemQuotaUtil
instead of Sandbox/SyncFileSystemBackend so that it can remove a thin layer from
those backends.
And also moves common implementations of FileSystemBackend
(e.g. CreateFileStreamReader()) into the delegate.
BUG=272078
TEST=unit_tests, content_unittests
Review URL: https://chromiumcodereview.appspot.com/22821006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218987 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This removes unnecessary interfaces (InvalidateUsageCache and
StickyInvalidateUsageCache) from FileSystemQuotaUtil.
Current implementation calls usage-cache related functions of SandboxContext
via Sandbox/SyncFileSystembackend, but actually it's possible to call them
directly.
BUG=272078
TEST=pass all existing tests (no behavioral change)
Review URL: https://chromiumcodereview.appspot.com/22818004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217495 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds FileObserver related interfaces into FileSystemQuotaUtil and
adapts existing functions in SandboxFileSystemBackend and TestFileSystemBackend
to them.
These functions are used only in sandbox filesystem and we are moving all of
those kinds of functions to FileSystemQuotaUtil so that other backends don't
have to take care of them.
BUG=242422
TEST=content_unittests
R=kinuko@chromium.org, tzik@chromium.org
Review URL: https://codereview.chromium.org/18418009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211332 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=229660
TBR=darin@chromium.org
Review URL: https://codereview.chromium.org/18191004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209316 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Moves DeleteOriginDataOnFileThread() method to
QuotaUtil interface (from SandboxMountPointProvider)
- Changes FileSystemContext::DeleteDataForOriginOnFileThread
not to directly call sandbox_provider()->DeleteOriginDataOnFileThread
but calls the QuotaUtil's DeleteOriginDataOnFileThread method
if the provider returns non-null QuotaUtil.
More changes are coming, this is fixing the easiest part.
BUG=250791
TEST=unit_test:BrowsingDataFileSystemHelperTest.*
Review URL: https://chromiumcodereview.appspot.com/17083003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206997 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also removes webkit/storage/*
BUG=239109
R=tzik@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/16701004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205996 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move following files from content/common to content/common_child:
- webfilesystem_callback_adapters.*
- webfilesystem_impl.*
- webfilewriter_impl.*
Move following files from webkit/fileapi to webkit/common/fileapi:
- directory_entry.h
- file_system_types.h
- file_system_url*
- file_system_util*
Move following files from webkit/fileapi to webkit/renderer/fileapi:
- webfilewriter_base*
BUG=239710
TBR=jamesr@chromium.org
Review URL: https://codereview.chromium.org/15658004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202501 0039d316-1c4b-4281-b951-d872f2087c98
|
|
This moves following files from webkit/fileapi to webkit/browser/fileapi:
- copy_or_move_file_validator*
- cross_operation_delegate*
- file_system_quota_client*
- recursive_operation_delegate*
BUG=239710
TBR=tzik@chromium.org
Review URL: https://codereview.chromium.org/15535006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201258 0039d316-1c4b-4281-b951-d872f2087c98
|