summaryrefslogtreecommitdiffstats
path: root/webkit/browser/fileapi/sandbox_file_system_backend.cc
diff options
context:
space:
mode:
authornhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-17 01:10:36 +0000
committernhiroki@chromium.org <nhiroki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-17 01:10:36 +0000
commite7b9c97314e8ecd309482d2bad217b6ed1727969 (patch)
tree84d7c2a9b05a0d9765059f843571af875d9b9e9b /webkit/browser/fileapi/sandbox_file_system_backend.cc
parent2d7fbd7b325ced8993d68da26ccf7d135ced3c23 (diff)
downloadchromium_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.cc5
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_)) {