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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 base::FEATURE_ENABLED_BY_DEFAULT}; | 147 base::FEATURE_ENABLED_BY_DEFAULT}; |
148 | 148 |
149 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", | 149 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", |
150 base::FEATURE_DISABLED_BY_DEFAULT}; | 150 base::FEATURE_DISABLED_BY_DEFAULT}; |
151 | 151 |
152 // Makes "Add to Home screen" in the app menu generate an APK for the shortcut | 152 // Makes "Add to Home screen" in the app menu generate an APK for the shortcut |
153 // URL which opens Chrome in fullscreen. | 153 // URL which opens Chrome in fullscreen. |
154 const base::Feature kImprovedA2HS{"ImprovedA2HS", | 154 const base::Feature kImprovedA2HS{"ImprovedA2HS", |
155 base::FEATURE_DISABLED_BY_DEFAULT}; | 155 base::FEATURE_DISABLED_BY_DEFAULT}; |
156 | 156 |
| 157 const base::Feature kSearchEnginePromoExistingDevice{ |
| 158 "SearchEnginePromo.ExistingDevice", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 159 |
| 160 const base::Feature kSearchEnginePromoNewDevice{ |
| 161 "SearchEnginePromo.NewDevice", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 162 |
157 const base::Feature kNewPhotoPicker{"NewPhotoPicker", | 163 const base::Feature kNewPhotoPicker{"NewPhotoPicker", |
158 base::FEATURE_DISABLED_BY_DEFAULT}; | 164 base::FEATURE_DISABLED_BY_DEFAULT}; |
159 | 165 |
160 const base::Feature kNoCreditCardAbort{"NoCreditCardAbort", | 166 const base::Feature kNoCreditCardAbort{"NoCreditCardAbort", |
161 base::FEATURE_DISABLED_BY_DEFAULT}; | 167 base::FEATURE_DISABLED_BY_DEFAULT}; |
162 | 168 |
163 const base::Feature kNTPCondensedLayoutFeature{ | 169 const base::Feature kNTPCondensedLayoutFeature{ |
164 "NTPCondensedLayout", base::FEATURE_DISABLED_BY_DEFAULT}; | 170 "NTPCondensedLayout", base::FEATURE_DISABLED_BY_DEFAULT}; |
165 | 171 |
166 const base::Feature kNTPCondensedTileLayoutFeature{ | 172 const base::Feature kNTPCondensedTileLayoutFeature{ |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, | 279 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, |
274 jdefault_value); | 280 jdefault_value); |
275 } | 281 } |
276 | 282 |
277 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 283 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
278 return RegisterNativesImpl(env); | 284 return RegisterNativesImpl(env); |
279 } | 285 } |
280 | 286 |
281 } // namespace android | 287 } // namespace android |
282 } // namespace chrome | 288 } // namespace chrome |
OLD | NEW |