| 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 |
| 11 #include "base/feature_list.h" | 11 #include "base/feature_list.h" |
| 12 #include "extensions/features/features.h" | 12 #include "extensions/features/features.h" |
| 13 #include "ppapi/features/features.h" | 13 #include "ppapi/features/features.h" |
| 14 #include "printing/features/features.h" | 14 #include "printing/features/features.h" |
| 15 | 15 |
| 16 namespace features { | 16 namespace features { |
| 17 | 17 |
| 18 // All features in alphabetical order. The features should be documented | 18 // All features in alphabetical order. The features should be documented |
| 19 // alongside the definition of their values in the .cc file. | 19 // alongside the definition of their values in the .cc file. |
| 20 | 20 |
| 21 #if defined(OS_ANDROID) |
| 22 extern const base::Feature kAllowAutoplayUnmutedInWebappManifestScope; |
| 23 #endif // defined(OS_ANDROID) |
| 24 |
| 21 #if defined(OS_MACOSX) | 25 #if defined(OS_MACOSX) |
| 22 extern const base::Feature kAppleScriptExecuteJavaScript; | 26 extern const base::Feature kAppleScriptExecuteJavaScript; |
| 23 #endif // defined(OS_MACOSX) | 27 #endif // defined(OS_MACOSX) |
| 24 | 28 |
| 25 #if defined(OS_CHROMEOS) | 29 #if defined(OS_CHROMEOS) |
| 26 extern const base::Feature kArcMemoryManagement; | 30 extern const base::Feature kArcMemoryManagement; |
| 27 #endif // defined(OS_CHROMEOS) | 31 #endif // defined(OS_CHROMEOS) |
| 28 | 32 |
| 29 extern const base::Feature kAssetDownloadSuggestionsFeature; | 33 extern const base::Feature kAssetDownloadSuggestionsFeature; |
| 30 | 34 |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 | 160 |
| 157 extern const base::Feature kCrosCompUpdates; | 161 extern const base::Feature kCrosCompUpdates; |
| 158 #endif // defined(OS_CHROMEOS) | 162 #endif // defined(OS_CHROMEOS) |
| 159 | 163 |
| 160 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 164 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 161 // alphabetical order, or in one of the ifdefs (also in order in each section). | 165 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 162 | 166 |
| 163 } // namespace features | 167 } // namespace features |
| 164 | 168 |
| 165 #endif // CHROME_COMMON_CHROME_FEATURES_H_ | 169 #endif // CHROME_COMMON_CHROME_FEATURES_H_ |
| OLD | NEW |