| OLD | NEW |
| 1 {% from 'macros.tmpl' import license %} | 1 {% from 'macros.tmpl' import license %} |
| 2 {{license()}} | 2 {{license()}} |
| 3 | 3 |
| 4 #ifndef RuntimeEnabledFeatures_h | 4 #ifndef RuntimeEnabledFeatures_h |
| 5 #define RuntimeEnabledFeatures_h | 5 #define RuntimeEnabledFeatures_h |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "platform/PlatformExport.h" | 9 #include "platform/PlatformExport.h" |
| 10 #include "wtf/Allocator.h" | 10 #include "platform/wtf/Allocator.h" |
| 11 #include "wtf/Forward.h" | 11 #include "platform/wtf/Forward.h" |
| 12 #include "wtf/build_config.h" | 12 #include "platform/wtf/build_config.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 // A class that stores static enablers for all experimental features. | 16 // A class that stores static enablers for all experimental features. |
| 17 | 17 |
| 18 class PLATFORM_EXPORT RuntimeEnabledFeatures { | 18 class PLATFORM_EXPORT RuntimeEnabledFeatures { |
| 19 STATIC_ONLY(RuntimeEnabledFeatures); | 19 STATIC_ONLY(RuntimeEnabledFeatures); |
| 20 public: | 20 public: |
| 21 class PLATFORM_EXPORT Backup { | 21 class PLATFORM_EXPORT Backup { |
| 22 public: | 22 public: |
| (...skipping 24 matching lines...) Expand all Loading... |
| 47 | 47 |
| 48 private: | 48 private: |
| 49 {% for feature in standard_features %} | 49 {% for feature in standard_features %} |
| 50 static bool is{{feature.name}}Enabled; | 50 static bool is{{feature.name}}Enabled; |
| 51 {% endfor %} | 51 {% endfor %} |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 } // namespace blink | 54 } // namespace blink |
| 55 | 55 |
| 56 #endif // RuntimeEnabledFeatures_h | 56 #endif // RuntimeEnabledFeatures_h |
| OLD | NEW |