OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // This file defines all the public base::FeatureList features for the chrome | 5 // This file defines all the public base::FeatureList features for the chrome |
6 // module. | 6 // module. |
7 | 7 |
8 #ifndef CHROME_COMMON_CHROME_FEATURES_H_ | 8 #ifndef CHROME_COMMON_CHROME_FEATURES_H_ |
9 #define CHROME_COMMON_CHROME_FEATURES_H_ | 9 #define CHROME_COMMON_CHROME_FEATURES_H_ |
10 | 10 |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 extern const base::Feature kModalPermissionPrompts; | 124 extern const base::Feature kModalPermissionPrompts; |
125 | 125 |
126 #if defined(OS_WIN) | 126 #if defined(OS_WIN) |
127 extern const base::Feature kModuleDatabase; | 127 extern const base::Feature kModuleDatabase; |
128 #endif | 128 #endif |
129 | 129 |
130 #if BUILDFLAG(ENABLE_NATIVE_NOTIFICATIONS) | 130 #if BUILDFLAG(ENABLE_NATIVE_NOTIFICATIONS) |
131 extern const base::Feature kNativeNotifications; | 131 extern const base::Feature kNativeNotifications; |
132 #endif | 132 #endif |
133 | 133 |
| 134 extern const base::Feature kNetworkPrediction; |
| 135 |
134 extern const base::Feature kOfflinePageDownloadSuggestionsFeature; | 136 extern const base::Feature kOfflinePageDownloadSuggestionsFeature; |
135 | 137 |
136 #if !defined(OS_ANDROID) | 138 #if !defined(OS_ANDROID) |
137 extern const base::Feature kOneGoogleBarOnLocalNtp; | 139 extern const base::Feature kOneGoogleBarOnLocalNtp; |
138 #endif | 140 #endif |
139 | 141 |
140 extern const base::Feature kPermissionsBlacklist; | 142 extern const base::Feature kPermissionsBlacklist; |
141 | 143 |
142 #if defined(OS_WIN) | 144 #if defined(OS_WIN) |
143 extern const base::Feature kDisablePostScriptPrinting; | 145 extern const base::Feature kDisablePostScriptPrinting; |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 #endif // defined(OS_CHROMEOS) | 212 #endif // defined(OS_CHROMEOS) |
211 | 213 |
212 bool PrefServiceEnabled(); | 214 bool PrefServiceEnabled(); |
213 | 215 |
214 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 216 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
215 // alphabetical order, or in one of the ifdefs (also in order in each section). | 217 // alphabetical order, or in one of the ifdefs (also in order in each section). |
216 | 218 |
217 } // namespace features | 219 } // namespace features |
218 | 220 |
219 #endif // CHROME_COMMON_CHROME_FEATURES_H_ | 221 #endif // CHROME_COMMON_CHROME_FEATURES_H_ |
OLD | NEW |