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

Unified Diff: chrome/browser/chromeos/arc/fileapi/arc_documents_provider_util.h

Issue 2580303002: mediaview: Mount ARC documents provider file system volumes. (Closed)
Patch Set: Rebased. Created 3 years, 11 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/arc/fileapi/arc_documents_provider_util.h
diff --git a/chrome/browser/chromeos/arc/fileapi/arc_documents_provider_util.h b/chrome/browser/chromeos/arc/fileapi/arc_documents_provider_util.h
index 38ae3c862f013b4c615109d9af815893af89dd85..3c9de2a3c2fe9ab833a5d66885c575f816e2c752 100644
--- a/chrome/browser/chromeos/arc/fileapi/arc_documents_provider_util.h
+++ b/chrome/browser/chromeos/arc/fileapi/arc_documents_provider_util.h
@@ -29,6 +29,12 @@ extern const base::FilePath::CharType kDocumentsProviderMountPointPath[];
// Defined as DocumentsContract.Document.MIME_TYPE_DIR in Android.
extern const char kAndroidDirectoryMimeType[];
+// Returns the path of a directory where the specified DocumentsProvider is
+// mounted.
+base::FilePath GetDocumentsProviderMountPath(
+ const std::string& authority,
+ const std::string& root_document_id);
+
// Parses a FileSystemURL pointing to ARC documents provider file system.
// On success, true is returned. All arguments must not be nullptr.
bool ParseDocumentsProviderUrl(const storage::FileSystemURL& url,

Powered by Google App Engine
This is Rietveld 408576698