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

Unified Diff: content/public/common/content_features.cc

Issue 1780043002: Add download button to MediaDocument on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use base::Feature instead of switches Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/public/common/content_features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
index e6c1c61cad0a89348d30c16f118ad56c258fb3f8..eff329731f87c28bc53527563b47110d91355bd4 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -28,6 +28,13 @@ const base::Feature kDownloadResumption{"DownloadResumption",
const base::Feature kExperimentalFramework{"ExperimentalFramework",
base::FEATURE_ENABLED_BY_DEFAULT};
+// FeatureList definition for trials to enable the download button on
+// MediaDocument.
+const base::Feature kMediaDocumentDownloadButton{
+ "MediaDocumentDownloadButton",
+ base::FEATURE_DISABLED_BY_DEFAULT
+};
+
// Non-validating reload on reload-to-refresh-content (e.g. pull-to-refresh).
// See https://crbug.com/558829
const base::Feature kNonValidatingReloadOnRefreshContent{

Powered by Google App Engine
This is Rietveld 408576698