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

Unified Diff: mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl

Issue 177183002: Mojo: Include "path/to/foo.mojom.h" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove unnecessary abspath Created 6 years, 10 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: mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl
diff --git a/mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl b/mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl
deleted file mode 100644
index 6d483dfe2a1611d63756c8e4122370af0c217f5b..0000000000000000000000000000000000000000
--- a/mojo/public/bindings/generators/cpp_templates/module_internal.h.tmpl
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-{%- set header_guard = "MOJO_GENERATED_BINDINGS_%s_%s_INTERNAL_H_"|
- format(module_name|upper, module_name|upper) %}
-
-#ifndef {{header_guard}}
-#define {{header_guard}}
-
-#include "mojo/public/bindings/lib/bindings_internal.h"
-{%- for import in imports %}
-#include "{{include_prefix}}{{import.module_name|camel_to_underscores}}_internal.h"
-{%- endfor %}
-
-namespace {{namespace}} {
-
-{#--- Wrapper forward declarations #}
-{% for struct in structs %}
-class {{struct.name}};
-{%- endfor %}
-
-namespace internal {
-
-#pragma pack(push, 1)
-
-{#--- Class declarations #}
-{% for struct in structs %}
-{% include "struct_declaration.tmpl" %}
-{%- endfor %}
-
-#pragma pack(pop)
-
-} // namespace internal
-} // namespace {{namespace}}
-
-#endif // {{header_guard}}
« no previous file with comments | « mojo/public/bindings/generators/cpp_templates/module.h.tmpl ('k') | mojo/public/bindings/generators/mojom_cpp_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698