| 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 35cbcf37e4eecf17250468d64bddaa685911b719..4920b91fd1c03f89fce10df1f0caa42ab19b800b 100644
|
| --- a/webkit/fileapi/isolated_mount_point_provider.cc
|
| +++ b/webkit/fileapi/isolated_mount_point_provider.cc
|
| @@ -44,7 +44,8 @@ FilePath GetPathFromURL(const FileSystemURL& url) {
|
| } // namespace
|
|
|
| IsolatedMountPointProvider::IsolatedMountPointProvider()
|
| - : isolated_file_util_(new IsolatedFileUtil()) {
|
| + : isolated_file_util_(new IsolatedFileUtil()),
|
| + dragged_file_util_(new DraggedFileUtil()) {
|
| }
|
|
|
| IsolatedMountPointProvider::~IsolatedMountPointProvider() {
|
| @@ -66,7 +67,7 @@ FilePath IsolatedMountPointProvider::GetFileSystemRootPathOnFileThread(
|
| FileSystemType type,
|
| const FilePath& virtual_path,
|
| bool create) {
|
| - if (create || type != kFileSystemTypeIsolated)
|
| + if (create)
|
| return FilePath();
|
| std::string fsid;
|
| FilePath path;
|
| @@ -92,8 +93,12 @@ bool IsolatedMountPointProvider::IsRestrictedFileName(
|
| return false;
|
| }
|
|
|
| -FileSystemFileUtil* IsolatedMountPointProvider::GetFileUtil() {
|
| - return isolated_file_util_.get();
|
| +FileSystemFileUtil* IsolatedMountPointProvider::GetFileUtil(
|
| + FileSystemType type) {
|
| + if (type == kFileSystemTypeDragged)
|
| + return dragged_file_util_.get();
|
| + else
|
| + return isolated_file_util_.get();
|
| }
|
|
|
| FilePath IsolatedMountPointProvider::GetPathForPermissionsCheck(
|
|
|