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

Side by Side Diff: mojo/public/tools/bindings/generators/cpp_templates/module-internal.h.tmpl

Issue 830593003: Update mojo sdk to rev 9fbbc4f0fef1187312316c0ed992342474e139f1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cherry-pick mojo 9d3b8dd17f12d20035a14737fdc38dd926890ff8 Created 5 years, 11 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
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_INTERNAL_H_"| 5 {%- set header_guard = "%s_INTERNAL_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
11 #include "mojo/public/cpp/bindings/lib/bindings_internal.h" 11 #include "mojo/public/cpp/bindings/lib/bindings_internal.h"
12 #include "mojo/public/cpp/bindings/lib/buffer.h" 12 #include "mojo/public/cpp/bindings/lib/buffer.h"
13 #include "mojo/public/cpp/bindings/lib/union_accessor.h"
14 #include "mojo/public/cpp/bindings/struct_ptr.h"
13 15
14 {%- for import in imports %} 16 {%- for import in imports %}
15 #include "{{import.module.path}}-internal.h" 17 #include "{{import.module.path}}-internal.h"
16 {%- endfor %} 18 {%- endfor %}
17 19
18 namespace mojo { 20 namespace mojo {
19 namespace internal { 21 namespace internal {
20 class BoundsChecker; 22 class BoundsChecker;
21 } 23 }
22 } 24 }
(...skipping 22 matching lines...) Expand all
45 {%- endfor %} 47 {%- endfor %}
46 48
47 #pragma pack(pop) 49 #pragma pack(pop)
48 50
49 } // namespace internal 51 } // namespace internal
50 {%- for namespace in namespaces_as_array|reverse %} 52 {%- for namespace in namespaces_as_array|reverse %}
51 } // namespace {{namespace}} 53 } // namespace {{namespace}}
52 {%- endfor %} 54 {%- endfor %}
53 55
54 #endif // {{header_guard}} 56 #endif // {{header_guard}}
OLDNEW
« no previous file with comments | « mojo/public/third_party/ply/license.patch ('k') | mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698