| Index: mojo/public/bindings/generators/cpp_templates/module.h.tmpl
|
| diff --git a/mojo/public/bindings/generators/cpp_templates/module.h.tmpl b/mojo/public/bindings/generators/cpp_templates/module.h.tmpl
|
| index 1912d5cd0cd8730abb54ae1d524a9332d02d64b5..c2233861c33c2aa05ec4813c15f7b3748a604985 100644
|
| --- a/mojo/public/bindings/generators/cpp_templates/module.h.tmpl
|
| +++ b/mojo/public/bindings/generators/cpp_templates/module.h.tmpl
|
| @@ -16,7 +16,9 @@
|
| #include "{{import.module.path}}.h"
|
| {%- endfor %}
|
|
|
| +{%- if namespace %}
|
| namespace {{namespace}} {
|
| +{%- endif %}
|
|
|
| {#--- Enums #}
|
| {% for enum in enums %}
|
| @@ -43,6 +45,8 @@ namespace {{namespace}} {
|
| {% include "interface_stub_declaration.tmpl" %}
|
| {%- endfor %}
|
|
|
| +{%- if namespace %}
|
| } // namespace {{namespace}}
|
| +{%- endif %}
|
|
|
| #endif // {{header_guard}}
|
|
|