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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 &kNTPFakeOmniboxTextFeature, | 61 &kNTPFakeOmniboxTextFeature, |
62 &kNTPLaunchAfterInactivity, | 62 &kNTPLaunchAfterInactivity, |
63 &kNTPOfflinePagesFeature, | 63 &kNTPOfflinePagesFeature, |
64 &NTPShowGoogleGInOmniboxFeature, | 64 &NTPShowGoogleGInOmniboxFeature, |
65 &kPhysicalWebFeature, | 65 &kPhysicalWebFeature, |
66 &kPhysicalWebSharing, | 66 &kPhysicalWebSharing, |
67 &kSpecialLocaleFeature, | 67 &kSpecialLocaleFeature, |
68 &kSpecialLocaleWrapper, | 68 &kSpecialLocaleWrapper, |
69 &kTabsInCBD, | 69 &kTabsInCBD, |
70 &kTabReparenting, | 70 &kTabReparenting, |
71 &kUploadCrashReportsUsingJobScheduler, | |
72 &kWebPaymentsModifiers, | 71 &kWebPaymentsModifiers, |
73 &kWebPaymentsSingleAppUiSkip, | 72 &kWebPaymentsSingleAppUiSkip, |
74 &kWebVRCardboardSupport, | 73 &kWebVRCardboardSupport, |
75 &ntp_snippets::kIncreasedVisibility, | 74 &ntp_snippets::kIncreasedVisibility, |
76 &ntp_snippets::kForeignSessionsSuggestionsFeature, | 75 &ntp_snippets::kForeignSessionsSuggestionsFeature, |
77 &ntp_snippets::kOfflineBadgeFeature, | 76 &ntp_snippets::kOfflineBadgeFeature, |
78 &ntp_snippets::kSaveToOfflineFeature, | 77 &ntp_snippets::kSaveToOfflineFeature, |
79 &offline_pages::kBackgroundLoaderForDownloadsFeature, | 78 &offline_pages::kBackgroundLoaderForDownloadsFeature, |
80 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421. | 79 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421. |
81 &offline_pages::kOfflinePagesSharingFeature, | 80 &offline_pages::kOfflinePagesSharingFeature, |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 base::FEATURE_DISABLED_BY_DEFAULT}; | 169 base::FEATURE_DISABLED_BY_DEFAULT}; |
171 | 170 |
172 const base::Feature kSpecialLocaleWrapper{"SpecialLocaleWrapper", | 171 const base::Feature kSpecialLocaleWrapper{"SpecialLocaleWrapper", |
173 base::FEATURE_ENABLED_BY_DEFAULT}; | 172 base::FEATURE_ENABLED_BY_DEFAULT}; |
174 | 173 |
175 const base::Feature kTabsInCBD{"TabsInCBD", base::FEATURE_DISABLED_BY_DEFAULT}; | 174 const base::Feature kTabsInCBD{"TabsInCBD", base::FEATURE_DISABLED_BY_DEFAULT}; |
176 | 175 |
177 const base::Feature kTabReparenting{"TabReparenting", | 176 const base::Feature kTabReparenting{"TabReparenting", |
178 base::FEATURE_ENABLED_BY_DEFAULT}; | 177 base::FEATURE_ENABLED_BY_DEFAULT}; |
179 | 178 |
180 const base::Feature kUploadCrashReportsUsingJobScheduler{ | |
181 "UploadCrashReportsUsingJobScheduler", base::FEATURE_DISABLED_BY_DEFAULT}; | |
182 | |
183 const base::Feature kUseNewDoodleApi{"UseNewDoodleApi", | 179 const base::Feature kUseNewDoodleApi{"UseNewDoodleApi", |
184 base::FEATURE_DISABLED_BY_DEFAULT}; | 180 base::FEATURE_DISABLED_BY_DEFAULT}; |
185 | 181 |
186 const base::Feature kUserMediaScreenCapturing{ | 182 const base::Feature kUserMediaScreenCapturing{ |
187 "UserMediaScreenCapturing", base::FEATURE_DISABLED_BY_DEFAULT}; | 183 "UserMediaScreenCapturing", base::FEATURE_DISABLED_BY_DEFAULT}; |
188 | 184 |
189 const base::Feature kWebPaymentsModifiers{"WebPaymentsModifiers", | 185 const base::Feature kWebPaymentsModifiers{"WebPaymentsModifiers", |
190 base::FEATURE_DISABLED_BY_DEFAULT}; | 186 base::FEATURE_DISABLED_BY_DEFAULT}; |
191 | 187 |
192 const base::Feature kWebPaymentsSingleAppUiSkip{ | 188 const base::Feature kWebPaymentsSingleAppUiSkip{ |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, | 250 return base::GetFieldTrialParamByFeatureAsBool(*feature, param_name, |
255 jdefault_value); | 251 jdefault_value); |
256 } | 252 } |
257 | 253 |
258 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 254 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
259 return RegisterNativesImpl(env); | 255 return RegisterNativesImpl(env); |
260 } | 256 } |
261 | 257 |
262 } // namespace android | 258 } // namespace android |
263 } // namespace chrome | 259 } // namespace chrome |
OLD | NEW |