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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 #endif | 141 #endif |
142 | 142 |
143 extern const base::Feature kPrefService; | 143 extern const base::Feature kPrefService; |
144 | 144 |
145 #if defined(OS_CHROMEOS) | 145 #if defined(OS_CHROMEOS) |
146 extern const base::Feature kPreloadLockScreen; | 146 extern const base::Feature kPreloadLockScreen; |
147 #endif | 147 #endif |
148 | 148 |
149 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) | 149 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) |
150 extern const base::Feature kPrintPdfAsImage; | 150 extern const base::Feature kPrintPdfAsImage; |
151 | |
152 extern const base::Feature kPrintScaling; | |
153 #endif | 151 #endif |
154 | 152 |
155 extern const base::Feature kPushMessagingBackgroundMode; | 153 extern const base::Feature kPushMessagingBackgroundMode; |
156 | 154 |
157 #if defined(OS_CHROMEOS) | 155 #if defined(OS_CHROMEOS) |
158 extern const base::Feature kRuntimeMemoryLeakDetector; | 156 extern const base::Feature kRuntimeMemoryLeakDetector; |
159 #endif // defined(OS_CHROMEOS) | 157 #endif // defined(OS_CHROMEOS) |
160 | 158 |
161 #if BUILDFLAG(ENABLE_PLUGINS) | 159 #if BUILDFLAG(ENABLE_PLUGINS) |
162 extern const base::Feature kRunAllFlashInAllowMode; | 160 extern const base::Feature kRunAllFlashInAllowMode; |
(...skipping 22 matching lines...) Expand all Loading... |
185 #endif // defined(OS_CHROMEOS) | 183 #endif // defined(OS_CHROMEOS) |
186 | 184 |
187 bool PrefServiceEnabled(); | 185 bool PrefServiceEnabled(); |
188 | 186 |
189 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 187 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
190 // alphabetical order, or in one of the ifdefs (also in order in each section). | 188 // alphabetical order, or in one of the ifdefs (also in order in each section). |
191 | 189 |
192 } // namespace features | 190 } // namespace features |
193 | 191 |
194 #endif // CHROME_COMMON_CHROME_FEATURES_H_ | 192 #endif // CHROME_COMMON_CHROME_FEATURES_H_ |
OLD | NEW |