Index: chrome/browser/chromeos/file_system_provider/mount_path_util.h |
diff --git a/chrome/browser/chromeos/file_system_provider/mount_path_util.h b/chrome/browser/chromeos/file_system_provider/mount_path_util.h |
index 77a1759a167868771c229d80adc6523ba718f882..186e1409e351e2353bc9601d81ca451e69775916 100644 |
--- a/chrome/browser/chromeos/file_system_provider/mount_path_util.h |
+++ b/chrome/browser/chromeos/file_system_provider/mount_path_util.h |
@@ -23,7 +23,10 @@ namespace util { |
base::FilePath GetMountPath(Profile* profile, |
const std::string& extension_id, |
const std::string& file_system_id); |
- |
+// Constructs a safe mount point path for the plugin provided file system. |
+base::FilePath GetPluginMountPath(Profile* profile, |
+ const std::string& source_id, |
+ const std::string& file_system_id); |
// Checks whether a local path is handled by File System Provider API or not. |
bool IsFileSystemProviderLocalPath(const base::FilePath& local_path); |
@@ -43,6 +46,8 @@ class FileSystemURLParser { |
const base::FilePath& file_path() const { return file_path_; } |
private: |
+ bool ParseExtensionProvided(); |
+ bool ParsePluginProvided(); |
storage::FileSystemURL url_; |
ProvidedFileSystemInterface* file_system_; |
base::FilePath file_path_; |