blob: b424a20bf8aa799e1e6cea5646929c3c01a6d6ce [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.
//
// Utilities for ARC Media View.
#ifndef CHROME_BROWSER_ASH_ARC_FILEAPI_ARC_MEDIA_VIEW_UTIL_H_
#define CHROME_BROWSER_ASH_ARC_FILEAPI_ARC_MEDIA_VIEW_UTIL_H_
#include <string>
#include "base/feature_list.h"
namespace arc {
// base::FeatureList feature for ARC media view.
BASE_DECLARE_FEATURE(kMediaViewFeature);
// Authority of MediaDocumentsProvider in Android.
extern const char kMediaDocumentsProviderAuthority[];
// Root IDs of file system roots in MediaDocumentsProvider.
extern const char kImagesRootId[];
extern const char kVideosRootId[];
extern const char kAudioRootId[];
extern const char kDocumentsRootId[];
// Returns an ID of a Media View volume.
std::string GetMediaViewVolumeId(const std::string& root_id);
} // namespace arc
#endif // CHROME_BROWSER_ASH_ARC_FILEAPI_ARC_MEDIA_VIEW_UTIL_H_