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

Side by Side 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, 8 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_features.h" 6 #include "content/public/common/content_features.h"
7 7
8 namespace features { 8 namespace features {
9 9
10 // All features in alphabetical order. 10 // All features in alphabetical order.
(...skipping 10 matching lines...) Expand all
21 21
22 // Downloads resumption will be controllable via a flag until it's enabled 22 // Downloads resumption will be controllable via a flag until it's enabled
23 // permanently. See https://crbug.com/7648 23 // permanently. See https://crbug.com/7648
24 const base::Feature kDownloadResumption{"DownloadResumption", 24 const base::Feature kDownloadResumption{"DownloadResumption",
25 base::FEATURE_ENABLED_BY_DEFAULT}; 25 base::FEATURE_ENABLED_BY_DEFAULT};
26 26
27 // The Experimental Framework for controlling access to API experiments. 27 // The Experimental Framework for controlling access to API experiments.
28 const base::Feature kExperimentalFramework{"ExperimentalFramework", 28 const base::Feature kExperimentalFramework{"ExperimentalFramework",
29 base::FEATURE_ENABLED_BY_DEFAULT}; 29 base::FEATURE_ENABLED_BY_DEFAULT};
30 30
31 // FeatureList definition for trials to enable the download button on
32 // MediaDocument.
33 const base::Feature kMediaDocumentDownloadButton{
34 "MediaDocumentDownloadButton",
35 base::FEATURE_DISABLED_BY_DEFAULT
36 };
37
31 // Non-validating reload on reload-to-refresh-content (e.g. pull-to-refresh). 38 // Non-validating reload on reload-to-refresh-content (e.g. pull-to-refresh).
32 // See https://crbug.com/558829 39 // See https://crbug.com/558829
33 const base::Feature kNonValidatingReloadOnRefreshContent{ 40 const base::Feature kNonValidatingReloadOnRefreshContent{
34 "NonValidatingReloadOnRefreshContent", 41 "NonValidatingReloadOnRefreshContent",
35 base::FEATURE_DISABLED_BY_DEFAULT}; 42 base::FEATURE_DISABLED_BY_DEFAULT};
36 43
37 // An experiment to optimize resource loading IPC for small resources. 44 // An experiment to optimize resource loading IPC for small resources.
38 // http://crbug.com/580928 45 // http://crbug.com/580928
39 const base::Feature kOptimizeIPCForSmallResource{ 46 const base::Feature kOptimizeIPCForSmallResource{
40 "OptimizeForSmallResource", 47 "OptimizeForSmallResource",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // we will not use replica editor and do a round trip to renderer to synchronize 85 // we will not use replica editor and do a round trip to renderer to synchronize
79 // with Blink data. 86 // with Blink data.
80 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; 87 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT};
81 88
82 // FeatureList definition for the Seccomp field trial. 89 // FeatureList definition for the Seccomp field trial.
83 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", 90 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid",
84 base::FEATURE_DISABLED_BY_DEFAULT}; 91 base::FEATURE_DISABLED_BY_DEFAULT};
85 #endif 92 #endif
86 93
87 } // namespace features 94 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698