diff options
author | nhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-17 01:10:36 +0000 |
---|---|---|
committer | nhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-17 01:10:36 +0000 |
commit | e7b9c97314e8ecd309482d2bad217b6ed1727969 (patch) | |
tree | 84d7c2a9b05a0d9765059f843571af875d9b9e9b /webkit/browser/fileapi/sandbox_file_system_backend.cc | |
parent | 2d7fbd7b325ced8993d68da26ccf7d135ced3c23 (diff) | |
download | chromium_src-e7b9c97314e8ecd309482d2bad217b6ed1727969.zip chromium_src-e7b9c97314e8ecd309482d2bad217b6ed1727969.tar.gz chromium_src-e7b9c97314e8ecd309482d2bad217b6ed1727969.tar.bz2 |
FileAPI: Change FileSystemBackend::OpenFileSystem signature
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
Diffstat (limited to 'webkit/browser/fileapi/sandbox_file_system_backend.cc')
-rw-r--r-- | webkit/browser/fileapi/sandbox_file_system_backend.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/webkit/browser/fileapi/sandbox_file_system_backend.cc b/webkit/browser/fileapi/sandbox_file_system_backend.cc index eb319f4..1c034c9 100644 --- a/webkit/browser/fileapi/sandbox_file_system_backend.cc +++ b/webkit/browser/fileapi/sandbox_file_system_backend.cc @@ -173,11 +173,12 @@ bool SandboxFileSystemBackend::CanHandleType(FileSystemType type) const { type == kFileSystemTypeSyncableForInternalSync; } -void SandboxFileSystemBackend::OpenFileSystem( +void SandboxFileSystemBackend::InitializeFileSystem( const GURL& origin_url, fileapi::FileSystemType type, OpenFileSystemMode mode, - const OpenFileSystemCallback& callback) { + FileSystemContext* context, + const InitializeFileSystemCallback& callback) { if (file_system_options_.is_incognito() && !(type == kFileSystemTypeTemporary && enable_temporary_file_system_in_incognito_)) { |