| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 &kNTPFakeOmniboxTextFeature, | 59 &kNTPFakeOmniboxTextFeature, |
| 60 &kNTPLaunchAfterInactivity, | 60 &kNTPLaunchAfterInactivity, |
| 61 &kNTPOfflinePagesFeature, | 61 &kNTPOfflinePagesFeature, |
| 62 &NTPShowGoogleGInOmniboxFeature, | 62 &NTPShowGoogleGInOmniboxFeature, |
| 63 &kPhysicalWebFeature, | 63 &kPhysicalWebFeature, |
| 64 &kPhysicalWebSharing, | 64 &kPhysicalWebSharing, |
| 65 &kSpecialLocaleFeature, | 65 &kSpecialLocaleFeature, |
| 66 &kSpecialLocaleWrapper, | 66 &kSpecialLocaleWrapper, |
| 67 &kTabsInCBD, | 67 &kTabsInCBD, |
| 68 &kTabReparenting, | 68 &kTabReparenting, |
| 69 &kUploadCrashReportsUsingJobScheduler, |
| 69 &kWebPaymentsModifiers, | 70 &kWebPaymentsModifiers, |
| 70 &kWebPaymentsSingleAppUiSkip, | 71 &kWebPaymentsSingleAppUiSkip, |
| 71 &kWebVRCardboardSupport, | 72 &kWebVRCardboardSupport, |
| 72 &ntp_snippets::kIncreasedVisibility, | 73 &ntp_snippets::kIncreasedVisibility, |
| 73 &ntp_snippets::kForeignSessionsSuggestionsFeature, | 74 &ntp_snippets::kForeignSessionsSuggestionsFeature, |
| 74 &ntp_snippets::kOfflineBadgeFeature, | 75 &ntp_snippets::kOfflineBadgeFeature, |
| 75 &ntp_snippets::kSaveToOfflineFeature, | 76 &ntp_snippets::kSaveToOfflineFeature, |
| 76 &offline_pages::kBackgroundLoaderForDownloadsFeature, | 77 &offline_pages::kBackgroundLoaderForDownloadsFeature, |
| 77 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421. | 78 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421. |
| 78 &offline_pages::kOfflinePagesSharingFeature, | 79 &offline_pages::kOfflinePagesSharingFeature, |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 base::FEATURE_DISABLED_BY_DEFAULT}; | 162 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 162 | 163 |
| 163 const base::Feature kSpecialLocaleWrapper{"SpecialLocaleWrapper", | 164 const base::Feature kSpecialLocaleWrapper{"SpecialLocaleWrapper", |
| 164 base::FEATURE_ENABLED_BY_DEFAULT}; | 165 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 165 | 166 |
| 166 const base::Feature kTabsInCBD{"TabsInCBD", base::FEATURE_DISABLED_BY_DEFAULT}; | 167 const base::Feature kTabsInCBD{"TabsInCBD", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 167 | 168 |
| 168 const base::Feature kTabReparenting{"TabReparenting", | 169 const base::Feature kTabReparenting{"TabReparenting", |
| 169 base::FEATURE_ENABLED_BY_DEFAULT}; | 170 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 170 | 171 |
| 172 const base::Feature kUploadCrashReportsUsingJobScheduler{ |
| 173 "UploadCrashReportsUsingJobScheduler", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 174 |
| 171 const base::Feature kUserMediaScreenCapturing{ | 175 const base::Feature kUserMediaScreenCapturing{ |
| 172 "UserMediaScreenCapturing", base::FEATURE_DISABLED_BY_DEFAULT}; | 176 "UserMediaScreenCapturing", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 173 | 177 |
| 174 const base::Feature kWebPaymentsModifiers{"WebPaymentsModifiers", | 178 const base::Feature kWebPaymentsModifiers{"WebPaymentsModifiers", |
| 175 base::FEATURE_DISABLED_BY_DEFAULT}; | 179 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 176 | 180 |
| 177 const base::Feature kWebPaymentsSingleAppUiSkip{ | 181 const base::Feature kWebPaymentsSingleAppUiSkip{ |
| 178 "WebPaymentsSingleAppUiSkip", base::FEATURE_ENABLED_BY_DEFAULT}; | 182 "WebPaymentsSingleAppUiSkip", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 179 | 183 |
| 180 const base::Feature kWebVRCardboardSupport{ | 184 const base::Feature kWebVRCardboardSupport{ |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, | 243 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, |
| 240 jdefault_value); | 244 jdefault_value); |
| 241 } | 245 } |
| 242 | 246 |
| 243 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 247 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
| 244 return RegisterNativesImpl(env); | 248 return RegisterNativesImpl(env); |
| 245 } | 249 } |
| 246 | 250 |
| 247 } // namespace android | 251 } // namespace android |
| 248 } // namespace chrome | 252 } // namespace chrome |
| OLD | NEW |