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/test_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/test_file_system_backend.cc')
-rw-r--r-- | webkit/browser/fileapi/test_file_system_backend.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/webkit/browser/fileapi/test_file_system_backend.cc b/webkit/browser/fileapi/test_file_system_backend.cc index 700cc0d..b20ce34 100644 --- a/webkit/browser/fileapi/test_file_system_backend.cc +++ b/webkit/browser/fileapi/test_file_system_backend.cc @@ -148,11 +148,12 @@ bool TestFileSystemBackend::CanHandleType(FileSystemType type) const { return (type == kFileSystemTypeTest); } -void TestFileSystemBackend::OpenFileSystem( +void TestFileSystemBackend::InitializeFileSystem( const GURL& origin_url, FileSystemType type, OpenFileSystemMode mode, - const OpenFileSystemCallback& callback) { + FileSystemContext* context, + const InitializeFileSystemCallback& callback) { callback.Run(GetFileSystemRootURI(origin_url, type), GetFileSystemName(origin_url, type), base::PLATFORM_FILE_OK); |