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

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

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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 "third_party/mojo/src/mojo/public/cpp/bindings/lib/bindings_internal.h" 11 #include "mojo/public/cpp/bindings/lib/bindings_internal.h"
12 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/buffer.h" 12 #include "mojo/public/cpp/bindings/lib/buffer.h"
13 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/union_accessor.h" 13 #include "mojo/public/cpp/bindings/lib/union_accessor.h"
14 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/value_traits.h" 14 #include "mojo/public/cpp/bindings/lib/value_traits.h"
15 #include "third_party/mojo/src/mojo/public/cpp/bindings/struct_ptr.h" 15 #include "mojo/public/cpp/bindings/struct_ptr.h"
16 16
17 {%- for import in imports %} 17 {%- for import in imports %}
18 #include "{{import.module.path}}-internal.h" 18 #include "{{import.module.path}}-internal.h"
19 {%- endfor %} 19 {%- endfor %}
20 20
21 namespace mojo { 21 namespace mojo {
22 namespace internal { 22 namespace internal {
23 class BoundsChecker; 23 class BoundsChecker;
24 } 24 }
25 } 25 }
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 {%- endfor %} 63 {%- endfor %}
64 64
65 #pragma pack(pop) 65 #pragma pack(pop)
66 66
67 } // namespace internal 67 } // namespace internal
68 {%- for namespace in namespaces_as_array|reverse %} 68 {%- for namespace in namespaces_as_array|reverse %}
69 } // namespace {{namespace}} 69 } // namespace {{namespace}}
70 {%- endfor %} 70 {%- endfor %}
71 71
72 #endif // {{header_guard}} 72 #endif // {{header_guard}}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698