| 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 &kNTPFakeOmniboxTextFeature, | 58 &kNTPFakeOmniboxTextFeature, |
| 59 &kNTPOfflinePagesFeature, | 59 &kNTPOfflinePagesFeature, |
| 60 &NTPShowGoogleGInOmniboxFeature, | 60 &NTPShowGoogleGInOmniboxFeature, |
| 61 &kNTPSuggestionsStandaloneUIFeature, | 61 &kNTPSuggestionsStandaloneUIFeature, |
| 62 &kPhysicalWebFeature, | 62 &kPhysicalWebFeature, |
| 63 &kPhysicalWebSharing, |
| 63 &kSpecialLocaleFeature, | 64 &kSpecialLocaleFeature, |
| 64 &kSpecialLocaleWrapper, | 65 &kSpecialLocaleWrapper, |
| 65 &kTabsInCBD, | 66 &kTabsInCBD, |
| 66 &kTabReparenting, | 67 &kTabReparenting, |
| 67 &kWebPaymentsModifiers, | 68 &kWebPaymentsModifiers, |
| 68 &kWebPaymentsSingleAppUiSkip, | 69 &kWebPaymentsSingleAppUiSkip, |
| 69 &kWebVRCardboardSupport, | 70 &kWebVRCardboardSupport, |
| 70 &ntp_snippets::kIncreasedVisibility, | 71 &ntp_snippets::kIncreasedVisibility, |
| 71 &ntp_snippets::kForeignSessionsSuggestionsFeature, | 72 &ntp_snippets::kForeignSessionsSuggestionsFeature, |
| 72 &ntp_snippets::kOfflineBadgeFeature, | 73 &ntp_snippets::kOfflineBadgeFeature, |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 | 143 |
| 143 const base::Feature NTPShowGoogleGInOmniboxFeature{ | 144 const base::Feature NTPShowGoogleGInOmniboxFeature{ |
| 144 "NTPShowGoogleGInOmnibox", base::FEATURE_DISABLED_BY_DEFAULT}; | 145 "NTPShowGoogleGInOmnibox", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 145 | 146 |
| 146 const base::Feature kNTPSuggestionsStandaloneUIFeature{ | 147 const base::Feature kNTPSuggestionsStandaloneUIFeature{ |
| 147 "NTPSuggestionsStandaloneUI", base::FEATURE_DISABLED_BY_DEFAULT}; | 148 "NTPSuggestionsStandaloneUI", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 148 | 149 |
| 149 const base::Feature kPhysicalWebFeature{"PhysicalWeb", | 150 const base::Feature kPhysicalWebFeature{"PhysicalWeb", |
| 150 base::FEATURE_ENABLED_BY_DEFAULT}; | 151 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 151 | 152 |
| 153 const base::Feature kPhysicalWebSharing{"PhysicalWebSharing", |
| 154 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 155 |
| 152 const base::Feature kSpecialLocaleFeature{"SpecialLocale", | 156 const base::Feature kSpecialLocaleFeature{"SpecialLocale", |
| 153 base::FEATURE_DISABLED_BY_DEFAULT}; | 157 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 154 | 158 |
| 155 const base::Feature kSpecialLocaleWrapper{"SpecialLocaleWrapper", | 159 const base::Feature kSpecialLocaleWrapper{"SpecialLocaleWrapper", |
| 156 base::FEATURE_ENABLED_BY_DEFAULT}; | 160 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 157 | 161 |
| 158 const base::Feature kTabsInCBD{"TabsInCBD", base::FEATURE_DISABLED_BY_DEFAULT}; | 162 const base::Feature kTabsInCBD{"TabsInCBD", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 159 | 163 |
| 160 const base::Feature kTabReparenting{"TabReparenting", | 164 const base::Feature kTabReparenting{"TabReparenting", |
| 161 base::FEATURE_ENABLED_BY_DEFAULT}; | 165 base::FEATURE_ENABLED_BY_DEFAULT}; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, | 235 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, |
| 232 jdefault_value); | 236 jdefault_value); |
| 233 } | 237 } |
| 234 | 238 |
| 235 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 239 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
| 236 return RegisterNativesImpl(env); | 240 return RegisterNativesImpl(env); |
| 237 } | 241 } |
| 238 | 242 |
| 239 } // namespace android | 243 } // namespace android |
| 240 } // namespace chrome | 244 } // namespace chrome |
| OLD | NEW |