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

Side by Side Diff: chrome/browser/chromeos/arc/fileapi/arc_media_view_util.cc

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 unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698