OLD | NEW |
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 "chrome/browser/android/chrome_feature_list.h" | 5 #include "chrome/browser/android/chrome_feature_list.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 &data_reduction_proxy::features::kDataReductionSiteBreakdown, | 71 &data_reduction_proxy::features::kDataReductionSiteBreakdown, |
72 &kFullscreenActivity, | 72 &kFullscreenActivity, |
73 &kImprovedA2HS, | 73 &kImprovedA2HS, |
74 &kNewPhotoPicker, | 74 &kNewPhotoPicker, |
75 &kNoCreditCardAbort, | 75 &kNoCreditCardAbort, |
76 &kNTPCondensedLayoutFeature, | 76 &kNTPCondensedLayoutFeature, |
77 &kNTPCondensedTileLayoutFeature, | 77 &kNTPCondensedTileLayoutFeature, |
78 &kNTPLaunchAfterInactivity, | 78 &kNTPLaunchAfterInactivity, |
79 &kNTPOfflinePagesFeature, | 79 &kNTPOfflinePagesFeature, |
80 &NTPShowGoogleGInOmniboxFeature, | 80 &NTPShowGoogleGInOmniboxFeature, |
| 81 &kOmniboxSpareRenderer, |
81 &kPayWithGoogleV1, | 82 &kPayWithGoogleV1, |
82 &kPhysicalWebFeature, | 83 &kPhysicalWebFeature, |
83 &kPhysicalWebSharing, | 84 &kPhysicalWebSharing, |
84 &kSearchEnginePromoExistingDevice, | 85 &kSearchEnginePromoExistingDevice, |
85 &kSearchEnginePromoNewDevice, | 86 &kSearchEnginePromoNewDevice, |
86 &kSpannableInlineAutocomplete, | 87 &kSpannableInlineAutocomplete, |
87 &kSpecialLocaleFeature, | 88 &kSpecialLocaleFeature, |
88 &kSpecialLocaleWrapper, | 89 &kSpecialLocaleWrapper, |
89 &kTabReparenting, | 90 &kTabReparenting, |
90 &kVideoPersistence, | 91 &kVideoPersistence, |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 | 211 |
211 const base::Feature kNTPLaunchAfterInactivity{ | 212 const base::Feature kNTPLaunchAfterInactivity{ |
212 "NTPLaunchAfterInactivity", base::FEATURE_DISABLED_BY_DEFAULT}; | 213 "NTPLaunchAfterInactivity", base::FEATURE_DISABLED_BY_DEFAULT}; |
213 | 214 |
214 const base::Feature kNTPOfflinePagesFeature{"NTPOfflinePages", | 215 const base::Feature kNTPOfflinePagesFeature{"NTPOfflinePages", |
215 base::FEATURE_ENABLED_BY_DEFAULT}; | 216 base::FEATURE_ENABLED_BY_DEFAULT}; |
216 | 217 |
217 const base::Feature NTPShowGoogleGInOmniboxFeature{ | 218 const base::Feature NTPShowGoogleGInOmniboxFeature{ |
218 "NTPShowGoogleGInOmnibox", base::FEATURE_DISABLED_BY_DEFAULT}; | 219 "NTPShowGoogleGInOmnibox", base::FEATURE_DISABLED_BY_DEFAULT}; |
219 | 220 |
| 221 const base::Feature kOmniboxSpareRenderer{"OmniboxSpareRenderer", |
| 222 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 223 |
220 const base::Feature kPayWithGoogleV1{"PayWithGoogleV1", | 224 const base::Feature kPayWithGoogleV1{"PayWithGoogleV1", |
221 base::FEATURE_DISABLED_BY_DEFAULT}; | 225 base::FEATURE_DISABLED_BY_DEFAULT}; |
222 | 226 |
223 const base::Feature kPhysicalWebFeature{"PhysicalWeb", | 227 const base::Feature kPhysicalWebFeature{"PhysicalWeb", |
224 base::FEATURE_ENABLED_BY_DEFAULT}; | 228 base::FEATURE_ENABLED_BY_DEFAULT}; |
225 | 229 |
226 const base::Feature kPhysicalWebSharing{"PhysicalWebSharing", | 230 const base::Feature kPhysicalWebSharing{"PhysicalWebSharing", |
227 base::FEATURE_DISABLED_BY_DEFAULT}; | 231 base::FEATURE_DISABLED_BY_DEFAULT}; |
228 | 232 |
229 const base::Feature kSpannableInlineAutocomplete{ | 233 const base::Feature kSpannableInlineAutocomplete{ |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
328 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, | 332 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, |
329 jdefault_value); | 333 jdefault_value); |
330 } | 334 } |
331 | 335 |
332 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 336 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
333 return RegisterNativesImpl(env); | 337 return RegisterNativesImpl(env); |
334 } | 338 } |
335 | 339 |
336 } // namespace android | 340 } // namespace android |
337 } // namespace chrome | 341 } // namespace chrome |
OLD | NEW |