From e7b9c97314e8ecd309482d2bad217b6ed1727969 Mon Sep 17 00:00:00 2001 From: "nhiroki@chromium.org" Date: Wed, 17 Jul 2013 01:10:36 +0000 Subject: 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 --- webkit/browser/fileapi/sandbox_file_system_backend.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'webkit/browser/fileapi/sandbox_file_system_backend.cc') 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_)) { -- cgit v1.1