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

Side by Side Diff: mojo/public/tools/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, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 {%- set header_guard = "%s_H_"| 5 {%- set header_guard = "%s_H_"|
6 format(module.path|upper|replace("/","_")|replace(".","_")) %} 6 format(module.path|upper|replace("/","_")|replace(".","_")) %}
7 7
8 #ifndef {{header_guard}} 8 #ifndef {{header_guard}}
9 #define {{header_guard}} 9 #define {{header_guard}}
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 {#--- Interface Stubs -#} 43 {#--- Interface Stubs -#}
44 {% for interface in interfaces %} 44 {% for interface in interfaces %}
45 {% include "interface_stub_declaration.tmpl" %} 45 {% include "interface_stub_declaration.tmpl" %}
46 {%- endfor %} 46 {%- endfor %}
47 47
48 {%- if namespace %} 48 {%- if namespace %}
49 } // namespace {{namespace}} 49 } // namespace {{namespace}}
50 {%- endif %} 50 {%- endif %}
51 51
52 #endif // {{header_guard}} 52 #endif // {{header_guard}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698