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 28 matching lines...) Expand all Loading... |
39 &kAndroidPayIntegrationV1, | 39 &kAndroidPayIntegrationV1, |
40 &kDownloadsUiFeature, | 40 &kDownloadsUiFeature, |
41 &kImportantSitesInCBD, | 41 &kImportantSitesInCBD, |
42 &ntp_snippets::kContentSuggestionsFeature, | 42 &ntp_snippets::kContentSuggestionsFeature, |
43 &ntp_snippets::kSaveToOfflineFeature, | 43 &ntp_snippets::kSaveToOfflineFeature, |
44 &kNTPFakeOmniboxTextFeature, | 44 &kNTPFakeOmniboxTextFeature, |
45 &kNTPMaterialDesign, | 45 &kNTPMaterialDesign, |
46 &kNTPOfflinePagesFeature, | 46 &kNTPOfflinePagesFeature, |
47 &kPhysicalWebFeature, | 47 &kPhysicalWebFeature, |
48 &kPhysicalWebIgnoreOtherClientsFeature, | 48 &kPhysicalWebIgnoreOtherClientsFeature, |
49 &kScanCardsInWebPayments, | |
50 &kSpecialLocaleFeature, | 49 &kSpecialLocaleFeature, |
51 &kSpecialLocaleWrapper, | 50 &kSpecialLocaleWrapper, |
52 &kTabReparenting, | 51 &kTabReparenting, |
53 &kCCTExternalLinkHandling, | 52 &kCCTExternalLinkHandling, |
54 &offline_pages::kOfflinePagesBackgroundLoadingFeature, | 53 &offline_pages::kOfflinePagesBackgroundLoadingFeature, |
55 &offline_pages::kBackgroundLoaderForDownloadsFeature, | 54 &offline_pages::kBackgroundLoaderForDownloadsFeature, |
56 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421. | 55 &offline_pages::kOfflinePagesCTFeature, // See crbug.com/620421. |
57 &offline_pages::kOfflinePagesSharingFeature, | 56 &offline_pages::kOfflinePagesSharingFeature, |
58 &password_manager::features::kViewPasswords, | 57 &password_manager::features::kViewPasswords, |
59 }; | 58 }; |
(...skipping 17 matching lines...) Expand all Loading... |
77 | 76 |
78 const base::Feature kNTPFakeOmniboxTextFeature{ | 77 const base::Feature kNTPFakeOmniboxTextFeature{ |
79 "NTPFakeOmniboxText", base::FEATURE_DISABLED_BY_DEFAULT}; | 78 "NTPFakeOmniboxText", base::FEATURE_DISABLED_BY_DEFAULT}; |
80 | 79 |
81 const base::Feature kPhysicalWebFeature{"PhysicalWeb", | 80 const base::Feature kPhysicalWebFeature{"PhysicalWeb", |
82 base::FEATURE_ENABLED_BY_DEFAULT}; | 81 base::FEATURE_ENABLED_BY_DEFAULT}; |
83 | 82 |
84 const base::Feature kPhysicalWebIgnoreOtherClientsFeature{ | 83 const base::Feature kPhysicalWebIgnoreOtherClientsFeature{ |
85 "PhysicalWebIgnoreOtherClients", base::FEATURE_DISABLED_BY_DEFAULT}; | 84 "PhysicalWebIgnoreOtherClients", base::FEATURE_DISABLED_BY_DEFAULT}; |
86 | 85 |
87 const base::Feature kScanCardsInWebPayments{"ScanCardsInWebPayments", | |
88 base::FEATURE_DISABLED_BY_DEFAULT}; | |
89 | |
90 const base::Feature kSpecialLocaleFeature{"SpecialLocale", | 86 const base::Feature kSpecialLocaleFeature{"SpecialLocale", |
91 base::FEATURE_DISABLED_BY_DEFAULT}; | 87 base::FEATURE_DISABLED_BY_DEFAULT}; |
92 | 88 |
93 const base::Feature kSpecialLocaleWrapper{"SpecialLocaleWrapper", | 89 const base::Feature kSpecialLocaleWrapper{"SpecialLocaleWrapper", |
94 base::FEATURE_ENABLED_BY_DEFAULT}; | 90 base::FEATURE_ENABLED_BY_DEFAULT}; |
95 | 91 |
96 const base::Feature kTabReparenting{"TabReparenting", | 92 const base::Feature kTabReparenting{"TabReparenting", |
97 base::FEATURE_ENABLED_BY_DEFAULT}; | 93 base::FEATURE_ENABLED_BY_DEFAULT}; |
98 | 94 |
99 const base::Feature kCCTExternalLinkHandling{"CCTExternalLinkHandling", | 95 const base::Feature kCCTExternalLinkHandling{"CCTExternalLinkHandling", |
(...skipping 14 matching lines...) Expand all Loading... |
114 NOTREACHED(); | 110 NOTREACHED(); |
115 return false; | 111 return false; |
116 } | 112 } |
117 | 113 |
118 bool RegisterChromeFeatureListJni(JNIEnv* env) { | 114 bool RegisterChromeFeatureListJni(JNIEnv* env) { |
119 return RegisterNativesImpl(env); | 115 return RegisterNativesImpl(env); |
120 } | 116 } |
121 | 117 |
122 } // namespace android | 118 } // namespace android |
123 } // namespace chrome | 119 } // namespace chrome |
OLD | NEW |