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

Unified Diff: webkit/fileapi/file_system_context.cc

Issue 10823273: Integrate external mount points to IsolatedContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove too strict DCHECK 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/file_system_context.cc
diff --git a/webkit/fileapi/file_system_context.cc b/webkit/fileapi/file_system_context.cc
index d76ad78acb1dd039a5ab6804e71b2523ce97a8d7..0d62a08308eb9a31b0104e9436014496a03936e8 100644
--- a/webkit/fileapi/file_system_context.cc
+++ b/webkit/fileapi/file_system_context.cc
@@ -113,12 +113,19 @@ FileSystemMountPointProvider* FileSystemContext::GetMountPointProvider(
case kFileSystemTypePersistent:
return sandbox_provider_.get();
case kFileSystemTypeExternal:
+ case kFileSystemTypeDrive:
return external_provider_.get();
case kFileSystemTypeIsolated:
case kFileSystemTypeDragged:
case kFileSystemTypeNativeMedia:
case kFileSystemTypeDeviceMedia:
return isolated_provider_.get();
+ case kFileSystemTypeNativeLocal:
+#if defined(OS_CHROMEOS)
+ return external_provider_.get();
+#else
+ return isolated_provider_.get();
+#endif
default:
if (provider_map_.find(type) != provider_map_.end())
return provider_map_.find(type)->second;
« no previous file with comments | « webkit/chromeos/fileapi/cros_mount_point_provider.cc ('k') | webkit/fileapi/file_system_mount_point_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698