| OLD | NEW |
| 1 {% from 'macros.tmpl' import license %} | 1 {% from 'macros.tmpl' import license %} |
| 2 {{license()}} | 2 {{license()}} |
| 3 | 3 |
| 4 #include "platform/RuntimeEnabledFeatures.h" | 4 #include "platform/RuntimeEnabledFeatures.h" |
| 5 | 5 |
| 6 #include "wtf/Assertions.h" | 6 #include "platform/wtf/Assertions.h" |
| 7 #include "wtf/text/WTFString.h" | 7 #include "platform/wtf/text/WTFString.h" |
| 8 | 8 |
| 9 namespace blink { | 9 namespace blink { |
| 10 | 10 |
| 11 RuntimeEnabledFeatures::Backup::Backup() | 11 RuntimeEnabledFeatures::Backup::Backup() |
| 12 : | 12 : |
| 13 {% for feature in standard_features %} | 13 {% for feature in standard_features %} |
| 14 {%+ if not loop.first %}, {% endif -%}m_{{feature.first_lowered_name}}(Runti
meEnabledFeatures::{{feature.first_lowered_name}}Enabled()) | 14 {%+ if not loop.first %}, {% endif -%}m_{{feature.first_lowered_name}}(Runti
meEnabledFeatures::{{feature.first_lowered_name}}Enabled()) |
| 15 {% endfor %} | 15 {% endfor %} |
| 16 { | 16 { |
| 17 } | 17 } |
| (...skipping 22 matching lines...) Expand all Loading... |
| 40 } | 40 } |
| 41 {% endfor %} | 41 {% endfor %} |
| 42 DLOG(ERROR) << "RuntimeEnabledFeature not recognized: " << name; | 42 DLOG(ERROR) << "RuntimeEnabledFeature not recognized: " << name; |
| 43 } | 43 } |
| 44 | 44 |
| 45 {% for feature in standard_features %} | 45 {% for feature in standard_features %} |
| 46 bool RuntimeEnabledFeatures::is{{feature.name}}Enabled = {{'true' if feature.sta
tus == 'stable' else 'false'}}; | 46 bool RuntimeEnabledFeatures::is{{feature.name}}Enabled = {{'true' if feature.sta
tus == 'stable' else 'false'}}; |
| 47 {% endfor %} | 47 {% endfor %} |
| 48 | 48 |
| 49 } // namespace blink | 49 } // namespace blink |
| OLD | NEW |