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 #include "chrome/browser/chromeos/arc/fileapi/arc_media_view_util.h" |
| 6 |
| 7 namespace arc { |
| 8 |
| 9 namespace { |
| 10 |
| 11 constexpr char kMediaViewVolumeIdPrefix[] = "media_view:"; |
| 12 |
| 13 } // namespace |
| 14 |
| 15 const base::Feature kMediaViewFeature{"ArcMediaView", |
| 16 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 17 |
| 18 const char kMediaDocumentsProviderAuthority[] = |
| 19 "com.android.providers.media.documents"; |
| 20 |
| 21 const char kImagesRootDocumentId[] = "images_root"; |
| 22 const char kVideosRootDocumentId[] = "videos_root"; |
| 23 const char kAudioRootDocumentId[] = "audio_root"; |
| 24 |
| 25 std::string GetMediaViewVolumeId(const std::string& root_document_id) { |
| 26 return std::string(kMediaViewVolumeIdPrefix) + root_document_id; |
| 27 } |
| 28 |
| 29 } // namespace arc |
OLD | NEW |