| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 &kCustomFeedbackUi, | 53 &kCustomFeedbackUi, |
| 54 &kImportantSitesInCBD, | 54 &kImportantSitesInCBD, |
| 55 &kImprovedA2HS, | 55 &kImprovedA2HS, |
| 56 &kNoCreditCardAbort, | 56 &kNoCreditCardAbort, |
| 57 &kNTPCondensedLayoutFeature, | 57 &kNTPCondensedLayoutFeature, |
| 58 &kNTPCondensedTileLayoutFeature, | 58 &kNTPCondensedTileLayoutFeature, |
| 59 &kNTPFakeOmniboxTextFeature, | 59 &kNTPFakeOmniboxTextFeature, |
| 60 &kNTPLaunchAfterInactivity, | 60 &kNTPLaunchAfterInactivity, |
| 61 &kNTPOfflinePagesFeature, | 61 &kNTPOfflinePagesFeature, |
| 62 &NTPShowGoogleGInOmniboxFeature, | 62 &NTPShowGoogleGInOmniboxFeature, |
| 63 &kNTPSuggestionsStandaloneUIFeature, | |
| 64 &kPhysicalWebFeature, | 63 &kPhysicalWebFeature, |
| 65 &kPhysicalWebSharing, | 64 &kPhysicalWebSharing, |
| 66 &kSpecialLocaleFeature, | 65 &kSpecialLocaleFeature, |
| 67 &kSpecialLocaleWrapper, | 66 &kSpecialLocaleWrapper, |
| 68 &kTabsInCBD, | 67 &kTabsInCBD, |
| 69 &kTabReparenting, | 68 &kTabReparenting, |
| 70 &kWebPaymentsModifiers, | 69 &kWebPaymentsModifiers, |
| 71 &kWebPaymentsSingleAppUiSkip, | 70 &kWebPaymentsSingleAppUiSkip, |
| 72 &kWebVRCardboardSupport, | 71 &kWebVRCardboardSupport, |
| 73 &ntp_snippets::kIncreasedVisibility, | 72 &ntp_snippets::kIncreasedVisibility, |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 | 144 |
| 146 const base::Feature kNTPLaunchAfterInactivity{ | 145 const base::Feature kNTPLaunchAfterInactivity{ |
| 147 "NTPLaunchAfterInactivity", base::FEATURE_DISABLED_BY_DEFAULT}; | 146 "NTPLaunchAfterInactivity", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 148 | 147 |
| 149 const base::Feature kNTPOfflinePagesFeature{"NTPOfflinePages", | 148 const base::Feature kNTPOfflinePagesFeature{"NTPOfflinePages", |
| 150 base::FEATURE_ENABLED_BY_DEFAULT}; | 149 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 151 | 150 |
| 152 const base::Feature NTPShowGoogleGInOmniboxFeature{ | 151 const base::Feature NTPShowGoogleGInOmniboxFeature{ |
| 153 "NTPShowGoogleGInOmnibox", base::FEATURE_DISABLED_BY_DEFAULT}; | 152 "NTPShowGoogleGInOmnibox", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 154 | 153 |
| 155 const base::Feature kNTPSuggestionsStandaloneUIFeature{ | |
| 156 "NTPSuggestionsStandaloneUI", base::FEATURE_DISABLED_BY_DEFAULT}; | |
| 157 | |
| 158 const base::Feature kPhysicalWebFeature{"PhysicalWeb", | 154 const base::Feature kPhysicalWebFeature{"PhysicalWeb", |
| 159 base::FEATURE_ENABLED_BY_DEFAULT}; | 155 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 160 | 156 |
| 161 const base::Feature kPhysicalWebSharing{"PhysicalWebSharing", | 157 const base::Feature kPhysicalWebSharing{"PhysicalWebSharing", |
| 162 base::FEATURE_DISABLED_BY_DEFAULT}; | 158 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 163 | 159 |
| 164 const base::Feature kSpecialLocaleFeature{"SpecialLocale", | 160 const base::Feature kSpecialLocaleFeature{"SpecialLocale", |
| 165 base::FEATURE_DISABLED_BY_DEFAULT}; | 161 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 166 | 162 |
| 167 const base::Feature kSpecialLocaleWrapper{"SpecialLocaleWrapper", | 163 const base::Feature kSpecialLocaleWrapper{"SpecialLocaleWrapper", |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, | 239 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, |
| 244 jdefault_value); | 240 jdefault_value); |
| 245 } | 241 } |
| 246 | 242 |
| 247 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 243 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
| 248 return RegisterNativesImpl(env); | 244 return RegisterNativesImpl(env); |
| 249 } | 245 } |
| 250 | 246 |
| 251 } // namespace android | 247 } // namespace android |
| 252 } // namespace chrome | 248 } // namespace chrome |
| OLD | NEW |