| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 &features::kSimplifiedFullscreenUI, | 46 &features::kSimplifiedFullscreenUI, |
| 47 &features::kVrShell, | 47 &features::kVrShell, |
| 48 &features::kWebPayments, | 48 &features::kWebPayments, |
| 49 &features::kTabsInCbd, | 49 &features::kTabsInCbd, |
| 50 &kAndroidPayIntegrationV1, | 50 &kAndroidPayIntegrationV1, |
| 51 &kAndroidPayIntegrationV2, | 51 &kAndroidPayIntegrationV2, |
| 52 &kAndroidPaymentApps, | 52 &kAndroidPaymentApps, |
| 53 &kCCTBackgroundTab, | 53 &kCCTBackgroundTab, |
| 54 &kCCTExternalLinkHandling, | 54 &kCCTExternalLinkHandling, |
| 55 &kCCTPostMessageAPI, | 55 &kCCTPostMessageAPI, |
| 56 &kCCTRedirectPreconnect, |
| 56 &kChromeHomeFeature, | 57 &kChromeHomeFeature, |
| 57 &kChromeHomeExpandButton, | 58 &kChromeHomeExpandButton, |
| 58 &kChromeHomeSwipeLogic, | 59 &kChromeHomeSwipeLogic, |
| 59 &kContentSuggestionsLargeThumbnail, | 60 &kContentSuggestionsLargeThumbnail, |
| 60 &kContentSuggestionsVideoOverlay, | 61 &kContentSuggestionsVideoOverlay, |
| 61 &kContentSuggestionsSettings, | 62 &kContentSuggestionsSettings, |
| 62 &kContentSuggestionsShowSummary, | 63 &kContentSuggestionsShowSummary, |
| 63 &kContextualSearchSingleActions, | 64 &kContextualSearchSingleActions, |
| 64 &kContextualSearchUrlActions, | 65 &kContextualSearchUrlActions, |
| 65 &kContextualSuggestionsCarousel, | 66 &kContextualSuggestionsCarousel, |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 129 |
| 129 const base::Feature kCCTBackgroundTab{"CCTBackgroundTab", | 130 const base::Feature kCCTBackgroundTab{"CCTBackgroundTab", |
| 130 base::FEATURE_DISABLED_BY_DEFAULT}; | 131 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 131 | 132 |
| 132 const base::Feature kCCTExternalLinkHandling{"CCTExternalLinkHandling", | 133 const base::Feature kCCTExternalLinkHandling{"CCTExternalLinkHandling", |
| 133 base::FEATURE_ENABLED_BY_DEFAULT}; | 134 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 134 | 135 |
| 135 const base::Feature kCCTPostMessageAPI{"CCTPostMessageAPI", | 136 const base::Feature kCCTPostMessageAPI{"CCTPostMessageAPI", |
| 136 base::FEATURE_ENABLED_BY_DEFAULT}; | 137 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 137 | 138 |
| 139 const base::Feature kCCTRedirectPreconnect{"CCTRedirectPreconnect", |
| 140 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 141 |
| 138 const base::Feature kChromeHomeFeature{"ChromeHome", | 142 const base::Feature kChromeHomeFeature{"ChromeHome", |
| 139 base::FEATURE_DISABLED_BY_DEFAULT}; | 143 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 140 | 144 |
| 141 const base::Feature kChromeHomeExpandButton{"ChromeHomeExpandButton", | 145 const base::Feature kChromeHomeExpandButton{"ChromeHomeExpandButton", |
| 142 base::FEATURE_DISABLED_BY_DEFAULT}; | 146 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 143 | 147 |
| 144 const base::Feature kChromeHomeSwipeLogic{"ChromeHomeSwipeLogic", | 148 const base::Feature kChromeHomeSwipeLogic{"ChromeHomeSwipeLogic", |
| 145 base::FEATURE_DISABLED_BY_DEFAULT}; | 149 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 146 | 150 |
| 147 const base::Feature kContentSuggestionsLargeThumbnail{ | 151 const base::Feature kContentSuggestionsLargeThumbnail{ |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, | 324 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, |
| 321 jdefault_value); | 325 jdefault_value); |
| 322 } | 326 } |
| 323 | 327 |
| 324 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 328 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
| 325 return RegisterNativesImpl(env); | 329 return RegisterNativesImpl(env); |
| 326 } | 330 } |
| 327 | 331 |
| 328 } // namespace android | 332 } // namespace android |
| 329 } // namespace chrome | 333 } // namespace chrome |
| OLD | NEW |