From 22094639b4a4aca4d05be98f1b25ebc6412b4be5 Mon Sep 17 00:00:00 2001 From: "mtomasz@chromium.org" Date: Thu, 27 Mar 2014 07:56:30 +0000 Subject: [fsp] Introduce file_system_provider::Service class for the FileSystemProvider API. This patch introduces a service which manages file systems provided by third party extensions. The class has two methods: registerFileSystem() and unregisterFileSystem() which are supposed to be called from chrome.fileSystemProvider.* api methods. The service stores a map of the registered file systems, mounts them, and notifies observers (VolumeManager) about the fact. The file system backend does not handle the new file system type yet, this will be done separately. TEST=browser_test, unit_tests: *FileSystemProvider* BUG=248427 Review URL: https://codereview.chromium.org/192573002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259820 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/browser/fileapi/file_system_context.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'webkit/browser/fileapi/file_system_context.cc') diff --git a/webkit/browser/fileapi/file_system_context.cc b/webkit/browser/fileapi/file_system_context.cc index 067b25b..3c75a8b 100644 --- a/webkit/browser/fileapi/file_system_context.cc +++ b/webkit/browser/fileapi/file_system_context.cc @@ -71,6 +71,7 @@ int FileSystemContext::GetPermissionPolicy(FileSystemType type) { case kFileSystemTypeNativeForPlatformApp: case kFileSystemTypeNativeLocal: case kFileSystemTypeCloudDevice: + case kFileSystemTypeProvided: return FILE_PERMISSION_USE_FILE_PERMISSION; case kFileSystemTypeRestrictedNativeLocal: -- cgit v1.1