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

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

Issue 2580303002: mediaview: Mount ARC documents provider file system volumes. (Closed)
Patch Set: Consistently use GetGlobalService(). 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_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_

Powered by Google App Engine
This is Rietveld 408576698