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

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

Issue 2574173002: mediaview: Implement ArcDocumentsProviderRoot. (Closed)
Patch Set: Address lhchavez's comments. Created 4 years 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 1d4f263da7e0e57088b24ac0e2c51fdce6f07333..5705558a9fa8d3566a755c28a3c4b3c62ea1cc73 100644
--- a/chrome/browser/chromeos/arc/fileapi/arc_documents_provider_util.h
+++ b/chrome/browser/chromeos/arc/fileapi/arc_documents_provider_util.h
@@ -23,6 +23,10 @@ extern const char kDocumentsProviderMountPointName[];
// The path of ARC documents provider file system mount point.
extern const base::FilePath::CharType kDocumentsProviderMountPointPath[];
+// MIME type for directories in Android.
+// Defined as DocumentsContract.Document.MIME_TYPE_DIR in Android.
+constexpr char kAndroidDirectoryMimeType[] = "vnd.android.document/directory";
Luis Héctor Chávez 2016/12/15 23:54:26 nit: extern const char.
Shuhei Takahashi 2016/12/16 05:47:14 Done.
+
// 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