| 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 28 matching lines...) Expand all Loading... |
| 39 #endif | 39 #endif |
| 40 | 40 |
| 41 #if defined(OS_WIN) || defined(OS_MACOSX) | 41 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 42 extern const base::Feature kAutomaticTabDiscarding; | 42 extern const base::Feature kAutomaticTabDiscarding; |
| 43 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 43 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
| 44 | 44 |
| 45 #if defined(OS_WIN) || defined(OS_LINUX) | 45 #if defined(OS_WIN) || defined(OS_LINUX) |
| 46 extern const base::Feature kBackgroundModeAllowRestart; | 46 extern const base::Feature kBackgroundModeAllowRestart; |
| 47 #endif // defined(OS_WIN) || defined(OS_LINUX) | 47 #endif // defined(OS_WIN) || defined(OS_LINUX) |
| 48 | 48 |
| 49 extern const base::Feature kBackspaceGoesBackFeature; | |
| 50 | |
| 51 extern const base::Feature kBlockPromptsIfDismissedOften; | 49 extern const base::Feature kBlockPromptsIfDismissedOften; |
| 52 extern const base::Feature kBlockPromptsIfIgnoredOften; | 50 extern const base::Feature kBlockPromptsIfIgnoredOften; |
| 53 | 51 |
| 54 #if defined(OS_MACOSX) | 52 #if defined(OS_MACOSX) |
| 55 extern const base::Feature kBookmarkApps; | 53 extern const base::Feature kBookmarkApps; |
| 56 #endif | 54 #endif |
| 57 | 55 |
| 58 extern const base::Feature kBrowserHangFixesExperiment; | 56 extern const base::Feature kBrowserHangFixesExperiment; |
| 59 | 57 |
| 60 #if defined(OS_MACOSX) | 58 #if defined(OS_MACOSX) |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 #endif // defined(OS_CHROMEOS) | 189 #endif // defined(OS_CHROMEOS) |
| 192 | 190 |
| 193 bool PrefServiceEnabled(); | 191 bool PrefServiceEnabled(); |
| 194 | 192 |
| 195 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 193 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 196 // alphabetical order, or in one of the ifdefs (also in order in each section). | 194 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 197 | 195 |
| 198 } // namespace features | 196 } // namespace features |
| 199 | 197 |
| 200 #endif // CHROME_COMMON_CHROME_FEATURES_H_ | 198 #endif // CHROME_COMMON_CHROME_FEATURES_H_ |
| OLD | NEW |