Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(786)

Side by Side Diff: third_party/WebKit/Source/build/scripts/templates/RuntimeEnabledFeatures.cpp.tmpl

Issue 2822953002: Remove old wtf/ directory. (Closed)
Patch Set: Fixup *.typemap files. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698