| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 &features::kWebPayments, | 45 &features::kWebPayments, |
| 46 &features::kTabsInCbd, | 46 &features::kTabsInCbd, |
| 47 &kAndroidPayIntegrationV1, | 47 &kAndroidPayIntegrationV1, |
| 48 &kAndroidPayIntegrationV2, | 48 &kAndroidPayIntegrationV2, |
| 49 &kAndroidPaymentApps, | 49 &kAndroidPaymentApps, |
| 50 &kCCTBackgroundTab, | 50 &kCCTBackgroundTab, |
| 51 &kCCTExternalLinkHandling, | 51 &kCCTExternalLinkHandling, |
| 52 &kCCTPostMessageAPI, | 52 &kCCTPostMessageAPI, |
| 53 &kChromeHomeFeature, | 53 &kChromeHomeFeature, |
| 54 &kChromeHomeExpandButton, | 54 &kChromeHomeExpandButton, |
| 55 &kChromeHomeNtpRedesign, | |
| 56 &kContentSuggestionsSettings, | 55 &kContentSuggestionsSettings, |
| 57 &kContentSuggestionsShowSummary, | 56 &kContentSuggestionsShowSummary, |
| 58 &kContextualSearchSingleActions, | 57 &kContextualSearchSingleActions, |
| 59 &kContextualSearchUrlActions, | 58 &kContextualSearchUrlActions, |
| 60 &kContextualSuggestionsCarousel, | 59 &kContextualSuggestionsCarousel, |
| 61 &kCustomContextMenu, | 60 &kCustomContextMenu, |
| 62 &kCustomFeedbackUi, | 61 &kCustomFeedbackUi, |
| 63 &kDownloadHomeShowStorageInfo, | 62 &kDownloadHomeShowStorageInfo, |
| 64 &data_reduction_proxy::features::kDataReductionMainMenu, | 63 &data_reduction_proxy::features::kDataReductionMainMenu, |
| 65 &data_reduction_proxy::features::kDataReductionSiteBreakdown, | 64 &data_reduction_proxy::features::kDataReductionSiteBreakdown, |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 | 125 |
| 127 const base::Feature kCCTPostMessageAPI{"CCTPostMessageAPI", | 126 const base::Feature kCCTPostMessageAPI{"CCTPostMessageAPI", |
| 128 base::FEATURE_ENABLED_BY_DEFAULT}; | 127 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 129 | 128 |
| 130 const base::Feature kChromeHomeFeature{"ChromeHome", | 129 const base::Feature kChromeHomeFeature{"ChromeHome", |
| 131 base::FEATURE_DISABLED_BY_DEFAULT}; | 130 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 132 | 131 |
| 133 const base::Feature kChromeHomeExpandButton{"ChromeHomeExpandButton", | 132 const base::Feature kChromeHomeExpandButton{"ChromeHomeExpandButton", |
| 134 base::FEATURE_DISABLED_BY_DEFAULT}; | 133 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 135 | 134 |
| 136 const base::Feature kChromeHomeNtpRedesign{"ChromeHomeNtpRedesign", | |
| 137 base::FEATURE_DISABLED_BY_DEFAULT}; | |
| 138 | |
| 139 const base::Feature kContentSuggestionsSettings{ | 135 const base::Feature kContentSuggestionsSettings{ |
| 140 "ContentSuggestionsSettings", base::FEATURE_DISABLED_BY_DEFAULT}; | 136 "ContentSuggestionsSettings", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 141 | 137 |
| 142 const base::Feature kContentSuggestionsShowSummary{ | 138 const base::Feature kContentSuggestionsShowSummary{ |
| 143 "ContentSuggestionsShowSummary", base::FEATURE_ENABLED_BY_DEFAULT}; | 139 "ContentSuggestionsShowSummary", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 144 | 140 |
| 145 const base::Feature kContextualSearchSingleActions{ | 141 const base::Feature kContextualSearchSingleActions{ |
| 146 "ContextualSearchSingleActions", base::FEATURE_ENABLED_BY_DEFAULT}; | 142 "ContextualSearchSingleActions", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 147 | 143 |
| 148 const base::Feature kContextualSearchUrlActions{ | 144 const base::Feature kContextualSearchUrlActions{ |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, | 296 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, |
| 301 jdefault_value); | 297 jdefault_value); |
| 302 } | 298 } |
| 303 | 299 |
| 304 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 300 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
| 305 return RegisterNativesImpl(env); | 301 return RegisterNativesImpl(env); |
| 306 } | 302 } |
| 307 | 303 |
| 308 } // namespace android | 304 } // namespace android |
| 309 } // namespace chrome | 305 } // namespace chrome |
| OLD | NEW |