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

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

Issue 226263002: Mojo: Move mojo/public/bindings to mojo/public/tools/bindings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 9 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.h.tmpl
diff --git a/mojo/public/bindings/generators/cpp_templates/module.h.tmpl b/mojo/public/bindings/generators/cpp_templates/module.h.tmpl
deleted file mode 100644
index c2233861c33c2aa05ec4813c15f7b3748a604985..0000000000000000000000000000000000000000
--- a/mojo/public/bindings/generators/cpp_templates/module.h.tmpl
+++ /dev/null
@@ -1,52 +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 = "%s_H_"|
- format(module.path|upper|replace("/","_")|replace(".","_")) %}
-
-#ifndef {{header_guard}}
-#define {{header_guard}}
-
-#include "mojo/public/cpp/bindings/array.h"
-#include "mojo/public/cpp/bindings/callback.h"
-#include "mojo/public/cpp/bindings/interface.h"
-#include "{{module.path}}-internal.h"
-{%- for import in imports %}
-#include "{{import.module.path}}.h"
-{%- endfor %}
-
-{%- if namespace %}
-namespace {{namespace}} {
-{%- endif %}
-
-{#--- Enums #}
-{% for enum in enums %}
-{% include "enum_declaration.tmpl" %}
-{%- endfor %}
-
-{#--- Structs #}
-{% for struct in structs %}
-{% include "wrapper_class_declaration.tmpl" %}
-{%- endfor %}
-
-{#--- Interfaces -#}
-{% for interface in interfaces %}
-{% include "interface_declaration.tmpl" %}
-{%- endfor %}
-
-{#--- Interface Proxies -#}
-{% for interface in interfaces %}
-{% include "interface_proxy_declaration.tmpl" %}
-{%- endfor %}
-
-{#--- Interface Stubs -#}
-{% for interface in interfaces %}
-{% include "interface_stub_declaration.tmpl" %}
-{%- endfor %}
-
-{%- if namespace %}
-} // namespace {{namespace}}
-{%- endif %}
-
-#endif // {{header_guard}}

Powered by Google App Engine
This is Rietveld 408576698