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

Unified Diff: webkit/fileapi/isolated_mount_point_provider.cc

Issue 10823273: Integrate external mount points to IsolatedContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cros test fix Created 8 years, 4 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/isolated_mount_point_provider.cc
diff --git a/webkit/fileapi/isolated_mount_point_provider.cc b/webkit/fileapi/isolated_mount_point_provider.cc
index a54f8c7bd8c008f314d85ce52712a4fc4655b895..1a9c1e7a0c580735eec44632c0c724a088fd2f15 100644
--- a/webkit/fileapi/isolated_mount_point_provider.cc
+++ b/webkit/fileapi/isolated_mount_point_provider.cc
@@ -103,6 +103,7 @@ FileSystemFileUtil* IsolatedMountPointProvider::GetFileUtil(
FileSystemType type) {
switch (type) {
case kFileSystemTypeIsolated:
+ case kFileSystemTypeNativeLocal:
return isolated_file_util_.get();
case kFileSystemTypeDragged:
return dragged_file_util_.get();
@@ -116,6 +117,7 @@ FileSystemFileUtil* IsolatedMountPointProvider::GetFileUtil(
case kFileSystemTypeTemporary:
case kFileSystemTypePersistent:
case kFileSystemTypeExternal:
+ case kFileSystemTypeGData:
case kFileSystemTypeTest:
case kFileSystemTypeUnknown:
NOTREACHED();
@@ -126,8 +128,7 @@ FileSystemFileUtil* IsolatedMountPointProvider::GetFileUtil(
FilePath IsolatedMountPointProvider::GetPathForPermissionsCheck(
const FilePath& virtual_path) const {
// For isolated filesystems we only check per-filesystem permissions.
- NOTREACHED();
- return virtual_path;
+ return FilePath();
}
FileSystemOperationInterface*

Powered by Google App Engine
This is Rietveld 408576698