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

Unified Diff: storage/browser/fileapi/file_system_url.cc

Issue 589473002: Files.app: Enable externalfile: protocol for MTP volumes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed test. Created 6 years, 3 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
« no previous file with comments | « storage/browser/fileapi/file_system_url.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/fileapi/file_system_url.cc
diff --git a/storage/browser/fileapi/file_system_url.cc b/storage/browser/fileapi/file_system_url.cc
index 26d0a97cc0e0ee112297e38824656a32a11a556c..be5285c04cedc9db242658053f9eb19410ac62bf 100644
--- a/storage/browser/fileapi/file_system_url.cc
+++ b/storage/browser/fileapi/file_system_url.cc
@@ -36,6 +36,25 @@ FileSystemURL FileSystemURL::CreateForTest(const GURL& origin,
return FileSystemURL(origin, mount_type, virtual_path);
}
+FileSystemURL FileSystemURL::CreateForTest(
+ const GURL& origin,
+ FileSystemType mount_type,
+ const base::FilePath& virtual_path,
+ const std::string& mount_filesystem_id,
+ FileSystemType cracked_type,
+ const base::FilePath& cracked_path,
+ const std::string& filesystem_id,
+ const FileSystemMountOption& mount_option) {
+ return FileSystemURL(origin,
+ mount_type,
+ virtual_path,
+ mount_filesystem_id,
+ cracked_type,
+ cracked_path,
+ filesystem_id,
+ mount_option);
+}
+
FileSystemURL::FileSystemURL(const GURL& url)
: mount_type_(kFileSystemTypeUnknown),
type_(kFileSystemTypeUnknown),
« no previous file with comments | « storage/browser/fileapi/file_system_url.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698