OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 // |
| 5 // Utilities for ARC Media View. |
| 6 |
| 7 #ifndef CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_MEDIA_VIEW_UTIL_H_ |
| 8 #define CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_MEDIA_VIEW_UTIL_H_ |
| 9 |
| 10 #include <string> |
| 11 |
| 12 #include "base/feature_list.h" |
| 13 |
| 14 namespace arc { |
| 15 |
| 16 // base::FeatureList feature for ARC media view. |
| 17 extern const base::Feature kMediaViewFeature; |
| 18 |
| 19 // Authority of MediaDocumentsProvider in Android. |
| 20 extern const char kMediaDocumentsProviderAuthority[]; |
| 21 |
| 22 // Document IDs of file system roots in MediaDocumentsProvider. |
| 23 extern const char kImagesRootDocumentId[]; |
| 24 extern const char kVideosRootDocumentId[]; |
| 25 extern const char kAudioRootDocumentId[]; |
| 26 |
| 27 // Returns an ID of a Media View volume. |
| 28 std::string GetMediaViewVolumeId(const std::string& root_document_id); |
| 29 |
| 30 } // namespace arc |
| 31 |
| 32 #endif // CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_MEDIA_VIEW_UTIL_H_ |
OLD | NEW |