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

Side by Side Diff: mojo/public/bindings/generators/cpp_templates/module.cc.tmpl

Issue 220243007: Mojo: Move mojo/public/bindings/lib to mojo/public/cpp/bindings/lib. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 #if defined(__clang__) 5 #if defined(__clang__)
6 #pragma clang diagnostic push 6 #pragma clang diagnostic push
7 #pragma clang diagnostic ignored "-Wunused-private-field" 7 #pragma clang diagnostic ignored "-Wunused-private-field"
8 #endif 8 #endif
9 9
10 #include "{{module.path}}.h" 10 #include "{{module.path}}.h"
11 11
12 #include "mojo/public/bindings/lib/bindings_serialization.h" 12 #include "mojo/public/cpp/bindings/lib/bindings_serialization.h"
13 #include "mojo/public/bindings/lib/message_builder.h" 13 #include "mojo/public/cpp/bindings/lib/message_builder.h"
14 14
15 namespace {{namespace}} { 15 namespace {{namespace}} {
16 namespace internal { 16 namespace internal {
17 namespace { 17 namespace {
18 18
19 #pragma pack(push, 1) 19 #pragma pack(push, 1)
20 20
21 {#--- Interface parameter definitions #} 21 {#--- Interface parameter definitions #}
22 {%- for interface in interfaces %} 22 {%- for interface in interfaces %}
23 {%- for method in interface.methods %} 23 {%- for method in interface.methods %}
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 {#--- Interface definitions #} 56 {#--- Interface definitions #}
57 {%- for interface in interfaces %} 57 {%- for interface in interfaces %}
58 {%- include "interface_definition.tmpl" %} 58 {%- include "interface_definition.tmpl" %}
59 {%- endfor %} 59 {%- endfor %}
60 } // namespace {{namespace}} 60 } // namespace {{namespace}}
61 61
62 #if defined(__clang__) 62 #if defined(__clang__)
63 #pragma clang diagnostic pop 63 #pragma clang diagnostic pop
64 #endif 64 #endif
OLDNEW
« no previous file with comments | « mojo/public/bindings/generators/cpp_templates/module-internal.h.tmpl ('k') | mojo/public/bindings/lib/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698