summaryrefslogtreecommitdiffstats
path: root/webkit/browser/fileapi/file_system_context.cc
diff options
context:
space:
mode:
authormtomasz@chromium.org <mtomasz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-27 07:56:30 +0000
committermtomasz@chromium.org <mtomasz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-27 07:56:30 +0000
commit22094639b4a4aca4d05be98f1b25ebc6412b4be5 (patch)
tree251918ce78b860b6a1a7a55c1d17d8e0a9add2cb /webkit/browser/fileapi/file_system_context.cc
parentfdda45ff90cae86a097153fe5e377d87f95c317c (diff)
downloadchromium_src-22094639b4a4aca4d05be98f1b25ebc6412b4be5.zip
chromium_src-22094639b4a4aca4d05be98f1b25ebc6412b4be5.tar.gz
chromium_src-22094639b4a4aca4d05be98f1b25ebc6412b4be5.tar.bz2
[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
Diffstat (limited to 'webkit/browser/fileapi/file_system_context.cc')
-rw-r--r--webkit/browser/fileapi/file_system_context.cc1
1 files changed, 1 insertions, 0 deletions
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: