blob: 441fe898d5254948659aebc5a8e398eb8143c0e0 [file] [log] [blame]
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ash/arc/fileapi/arc_media_view_util.h"
namespace arc {
namespace {
constexpr char kMediaViewVolumeIdPrefix[] = "media_view:";
} // namespace
BASE_FEATURE(kMediaViewFeature,
"ArcMediaView",
base::FEATURE_ENABLED_BY_DEFAULT);
const char kMediaDocumentsProviderAuthority[] =
"com.android.providers.media.documents";
const char kImagesRootDocumentId[] = "images_root";
const char kVideosRootDocumentId[] = "videos_root";
const char kAudioRootDocumentId[] = "audio_root";
const char kDocumentsRootDocumentId[] = "documents_root";
std::string GetMediaViewVolumeId(const std::string& root_document_id) {
return std::string(kMediaViewVolumeIdPrefix) + root_document_id;
}
} // namespace arc