Index: webkit/fileapi/isolated_mount_point_provider.cc |
diff --git a/webkit/fileapi/isolated_mount_point_provider.cc b/webkit/fileapi/isolated_mount_point_provider.cc |
index 3dc57acb17c260a128d7ba93c41d40578ee82450..ddbff29ac1a65239f2d61ce81fa91bae9c16f829 100644 |
--- a/webkit/fileapi/isolated_mount_point_provider.cc |
+++ b/webkit/fileapi/isolated_mount_point_provider.cc |
@@ -55,6 +55,23 @@ IsolatedMountPointProvider::IsolatedMountPointProvider( |
IsolatedMountPointProvider::~IsolatedMountPointProvider() { |
} |
+bool IsolatedMountPointProvider::CanHandleType(FileSystemType type) const { |
+ switch (type) { |
+ case kFileSystemTypeIsolated: |
+ case kFileSystemTypeDragged: |
+ case kFileSystemTypeNativeMedia: |
+ case kFileSystemTypeDeviceMedia: |
+ return true; |
+#if !defined(OS_CHROMEOS) |
+ case kFileSystemTypeNativeLocal: |
+ case kFileSystemTypeNativeForPlatformApp: |
+ return true; |
+#endif |
+ default: |
+ return false; |
+ } |
+} |
+ |
void IsolatedMountPointProvider::ValidateFileSystemRoot( |
const GURL& origin_url, |
FileSystemType type, |