summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/build/scripts/templates/runtime_enabled_features.h.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/build/scripts/templates/runtime_enabled_features.h.tmpl')
-rw-r--r--chromium/third_party/blink/renderer/build/scripts/templates/runtime_enabled_features.h.tmpl11
1 files changed, 5 insertions, 6 deletions
diff --git a/chromium/third_party/blink/renderer/build/scripts/templates/runtime_enabled_features.h.tmpl b/chromium/third_party/blink/renderer/build/scripts/templates/runtime_enabled_features.h.tmpl
index 77be3bb3cda..b74af567130 100644
--- a/chromium/third_party/blink/renderer/build/scripts/templates/runtime_enabled_features.h.tmpl
+++ b/chromium/third_party/blink/renderer/build/scripts/templates/runtime_enabled_features.h.tmpl
@@ -3,14 +3,13 @@
{{source_files_for_generated_file(template_file, input_files)}}
-#ifndef RuntimeEnabledFeatures_h
-#define RuntimeEnabledFeatures_h
+#ifndef {{header_guard}}
+#define {{header_guard}}
#include <string>
#include "third_party/blink/renderer/platform/platform_export.h"
#include "third_party/blink/renderer/platform/wtf/allocator.h"
-#include "third_party/blink/renderer/platform/wtf/forward.h"
namespace blink {
@@ -56,7 +55,7 @@ class PLATFORM_EXPORT RuntimeEnabledFeatures {
// to test whether the feature is unconditionally enabled (for example, by
// starting the browser with the appropriate command-line flag). However,
// that is almost always the incorrect check. Most renderer code should
- // be calling OriginTrials::<feature>Enabled() instead, to test if the
+ // be calling origin_trials::<feature>Enabled() instead, to test if the
// feature is enabled in a given context.
{% for feature in features %}
@@ -77,6 +76,6 @@ class PLATFORM_EXPORT RuntimeEnabledFeatures {
{% endfor %}
};
-} // namespace blink
+} // namespace blink
-#endif // RuntimeEnabledFeatures_h
+#endif // {{header_guard}}