Index: chrome/browser/chromeos/arc/fileapi/arc_media_view_util.h |
diff --git a/chrome/browser/chromeos/arc/fileapi/arc_media_view_util.h b/chrome/browser/chromeos/arc/fileapi/arc_media_view_util.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f5cb58170ae02d37183319bc25018894d2e78e97 |
--- /dev/null |
+++ b/chrome/browser/chromeos/arc/fileapi/arc_media_view_util.h |
@@ -0,0 +1,32 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+// |
+// Utilities for ARC Media View. |
+ |
+#ifndef CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_MEDIA_VIEW_UTIL_H_ |
+#define CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_MEDIA_VIEW_UTIL_H_ |
+ |
+#include <string> |
+ |
+#include "base/feature_list.h" |
+ |
+namespace arc { |
+ |
+// base::FeatureList feature for ARC media view. |
+extern const base::Feature kMediaViewFeature; |
+ |
+// Authority of MediaDocumentsProvider in Android. |
+extern const char kMediaDocumentsProviderAuthority[]; |
+ |
+// Document IDs of file system roots in MediaDocumentsProvider. |
+extern const char kImagesRootDocumentId[]; |
+extern const char kVideosRootDocumentId[]; |
+extern const char kAudioRootDocumentId[]; |
+ |
+// Returns an ID of a Media View volume. |
+std::string GetMediaViewVolumeId(const std::string& root_document_id); |
+ |
+} // namespace arc |
+ |
+#endif // CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_MEDIA_VIEW_UTIL_H_ |