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

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

Issue 2638713002: mediaview: Enable by default. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/arc/fileapi/arc_media_view_util.h" 5 #include "chrome/browser/chromeos/arc/fileapi/arc_media_view_util.h"
6 6
7 namespace arc { 7 namespace arc {
8 8
9 namespace { 9 namespace {
10 10
11 constexpr char kMediaViewVolumeIdPrefix[] = "media_view:"; 11 constexpr char kMediaViewVolumeIdPrefix[] = "media_view:";
12 12
13 } // namespace 13 } // namespace
14 14
15 const base::Feature kMediaViewFeature{"ArcMediaView", 15 const base::Feature kMediaViewFeature{"ArcMediaView",
16 base::FEATURE_DISABLED_BY_DEFAULT}; 16 base::FEATURE_ENABLED_BY_DEFAULT};
17 17
18 const char kMediaDocumentsProviderAuthority[] = 18 const char kMediaDocumentsProviderAuthority[] =
19 "com.android.providers.media.documents"; 19 "com.android.providers.media.documents";
20 20
21 const char kImagesRootDocumentId[] = "images_root"; 21 const char kImagesRootDocumentId[] = "images_root";
22 const char kVideosRootDocumentId[] = "videos_root"; 22 const char kVideosRootDocumentId[] = "videos_root";
23 const char kAudioRootDocumentId[] = "audio_root"; 23 const char kAudioRootDocumentId[] = "audio_root";
24 24
25 std::string GetMediaViewVolumeId(const std::string& root_document_id) { 25 std::string GetMediaViewVolumeId(const std::string& root_document_id) {
26 return std::string(kMediaViewVolumeIdPrefix) + root_document_id; 26 return std::string(kMediaViewVolumeIdPrefix) + root_document_id;
27 } 27 }
28 28
29 } // namespace arc 29 } // namespace arc
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698