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

Unified Diff: webkit/browser/fileapi/external_mount_points.cc

Issue 246293011: Mount MTP devices in Chrome OS Files.app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/browser/fileapi/external_mount_points.cc
diff --git a/webkit/browser/fileapi/external_mount_points.cc b/webkit/browser/fileapi/external_mount_points.cc
index 010fb08a6b952bace942a3eea6d70f1d95408ad4..1924c568438f7af47aa4f1fc365f8f2b2215f3c1 100644
--- a/webkit/browser/fileapi/external_mount_points.cc
+++ b/webkit/browser/fileapi/external_mount_points.cc
@@ -31,7 +31,8 @@ base::FilePath NormalizeFilePath(const base::FilePath& path) {
}
bool IsOverlappingMountPathForbidden(fileapi::FileSystemType type) {
- return type != fileapi::kFileSystemTypeNativeMedia;
+ return type != fileapi::kFileSystemTypeNativeMedia &&
+ type != fileapi::kFileSystemTypeDeviceMedia;
}
// Wrapper around ref-counted ExternalMountPoints that will be used to lazily

Powered by Google App Engine
This is Rietveld 408576698