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

Unified Diff: Source/core/scripts/templates/RuntimeEnabledFeatures.cpp.tmpl

Issue 22546004: Remove .tmpl extension from Jinja templates in core Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/scripts/templates/RuntimeEnabledFeatures.cpp.tmpl
diff --git a/Source/core/scripts/templates/RuntimeEnabledFeatures.cpp.tmpl b/Source/core/scripts/templates/RuntimeEnabledFeatures.cpp.tmpl
deleted file mode 100644
index 4affac1f8eb467cbbb91859d8136b0dcf47ce75b..0000000000000000000000000000000000000000
--- a/Source/core/scripts/templates/RuntimeEnabledFeatures.cpp.tmpl
+++ /dev/null
@@ -1,25 +0,0 @@
-{% from "macros.tmpl" import wrap_with_condition, license -%}
-{{ license() }}
-
-#include "config.h"
-#include "RuntimeEnabledFeatures.h"
-
-namespace WebCore {
-
-{% for feature_set in feature_sets %}
-void RuntimeEnabledFeatures::set{{feature_set|capitalize}}FeaturesEnabled(bool enable)
-{
-{%- for feature in features if feature.status == feature_set %}
- set{{feature.name}}Enabled(enable);
-{%- endfor %}
-}
-{% endfor %}
-
-{%- for feature in features if not feature.custom %}
-{%- call wrap_with_condition(feature.condition) %}
-bool RuntimeEnabledFeatures::is{{feature.name}}Enabled = false;
-{%- endcall %}
-{%- endfor %}
-
-} // namespace WebCore
-
« no previous file with comments | « Source/core/scripts/templates/RuntimeEnabledFeatures.cpp ('k') | Source/core/scripts/templates/RuntimeEnabledFeatures.h.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698