Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(408)

Unified Diff: webkit/fileapi/file_system_context.cc

Issue 10810053: Enables internal filesystem types via Isolated filesystems (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: layout test crash fix Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/fileapi/file_system_context.cc
diff --git a/webkit/fileapi/file_system_context.cc b/webkit/fileapi/file_system_context.cc
index 124fbe067ac4fa8a947fdcb51ff58ea36b857f06..2b8c7fa9a53ac484fc8c00076001f3f16e7be418 100644
--- a/webkit/fileapi/file_system_context.cc
+++ b/webkit/fileapi/file_system_context.cc
@@ -111,7 +111,7 @@ FileSystemFileUtil* FileSystemContext::GetFileUtil(
GetMountPointProvider(type);
if (!mount_point_provider)
return NULL;
- return mount_point_provider->GetFileUtil();
+ return mount_point_provider->GetFileUtil(type);
}
FileSystemMountPointProvider* FileSystemContext::GetMountPointProvider(
@@ -123,13 +123,13 @@ FileSystemMountPointProvider* FileSystemContext::GetMountPointProvider(
case kFileSystemTypeExternal:
return external_provider_.get();
case kFileSystemTypeIsolated:
+ case kFileSystemTypeDragged:
return isolated_provider_.get();
default:
if (provider_map_.find(type) != provider_map_.end())
return provider_map_.find(type)->second;
// Fall through.
case kFileSystemTypeUnknown:
- case kFileSystemTypeDragged:
NOTREACHED();
return NULL;
}
« no previous file with comments | « webkit/chromeos/fileapi/cros_mount_point_provider.cc ('k') | webkit/fileapi/file_system_dir_url_request_job_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698