Index: Source/build/scripts/templates/UseCounterGenerated.h.tmpl |
diff --git a/Source/build/scripts/templates/UseCounterGenerated.h.tmpl b/Source/build/scripts/templates/UseCounterGenerated.h.tmpl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..14864bad388bd8f6741a50f87cf19839a89a0513 |
--- /dev/null |
+++ b/Source/build/scripts/templates/UseCounterGenerated.h.tmpl |
@@ -0,0 +1,23 @@ |
+{% from 'macros.tmpl' import license %} |
+{{license()}} |
+ |
+#ifndef UseCounterGenerated_h |
+#define UseCounterGenerated_h |
+ |
+namespace blink { |
+ |
+class UseCounterGenerated { |
+public: |
+ enum Feature { |
+ {% for feature in features %} |
+ {{ feature.name }} = {{ feature.value|unique_value(feature.name) }}, |
+ {% endfor %} |
+ |
+ // This enum value must be last. |
+ NumberOfFeatures |
+ }; |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // UseCounterGenerated_h |