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

Unified Diff: chrome/browser/chromeos/file_system_provider/mount_path_util.h

Issue 1093383002: [WIP] Provided file system from NACL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved several modules to chromeos folder. Created 5 years, 5 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: 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_;

Powered by Google App Engine
This is Rietveld 408576698