summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/bindings/templates/web_agent_api_interface.h.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/bindings/templates/web_agent_api_interface.h.tmpl')
-rw-r--r--chromium/third_party/blink/renderer/bindings/templates/web_agent_api_interface.h.tmpl7
1 files changed, 3 insertions, 4 deletions
diff --git a/chromium/third_party/blink/renderer/bindings/templates/web_agent_api_interface.h.tmpl b/chromium/third_party/blink/renderer/bindings/templates/web_agent_api_interface.h.tmpl
index 86d0537049c..923d12bdb66 100644
--- a/chromium/third_party/blink/renderer/bindings/templates/web_agent_api_interface.h.tmpl
+++ b/chromium/third_party/blink/renderer/bindings/templates/web_agent_api_interface.h.tmpl
@@ -1,9 +1,8 @@
{% filter format_blink_cpp_source_code %}
{% include 'copyright_block.txt' %}
-
-#ifndef WEB_API_{{class_name.macro_case}}_H
-#define WEB_API_{{class_name.macro_case}}_H
+#ifndef {{header_guard}}
+#define {{header_guard}}
{% for include_file in header_includes %}
#include "{{include_file}}"
@@ -41,6 +40,6 @@ class {{class_name.upper_camel_case}} : public {% if not base_class -%}
} // namespace web
-#endif // WEB_API_{{class_name.macro_case}}_H
+#endif // {{header_guard}}
{% endfilter %}