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

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

Issue 2766523002: mojo: MessageReceiver*::AcceptWithResponder() now take a unique_ptr to the responder (Closed)
Patch Set: comments Created 3 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 unified diff | Download patch
« no previous file with comments | « mojo/public/tools/bindings/generators/cpp_templates/interface_stub_declaration.tmpl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 variant -%} 5 {%- if variant -%}
6 {%- set variant_path = "%s-%s"|format(module.path, variant) -%} 6 {%- set variant_path = "%s-%s"|format(module.path, variant) -%}
7 {%- else -%} 7 {%- else -%}
8 {%- set variant_path = module.path -%} 8 {%- set variant_path = module.path -%}
9 {%- endif -%} 9 {%- endif -%}
10 10
(...skipping 22 matching lines...) Expand all
33 #ifndef {{header_guard}} 33 #ifndef {{header_guard}}
34 #define {{header_guard}} 34 #define {{header_guard}}
35 35
36 #include <stdint.h> 36 #include <stdint.h>
37 37
38 #include <limits> 38 #include <limits>
39 #include <type_traits> 39 #include <type_traits>
40 #include <utility> 40 #include <utility>
41 41
42 #include "base/callback.h" 42 #include "base/callback.h"
43 #include "base/macros.h"
43 #include "base/optional.h" 44 #include "base/optional.h"
44 #include "mojo/public/cpp/bindings/associated_interface_ptr.h" 45 #include "mojo/public/cpp/bindings/associated_interface_ptr.h"
45 #include "mojo/public/cpp/bindings/associated_interface_ptr_info.h" 46 #include "mojo/public/cpp/bindings/associated_interface_ptr_info.h"
46 #include "mojo/public/cpp/bindings/associated_interface_request.h" 47 #include "mojo/public/cpp/bindings/associated_interface_request.h"
47 #include "mojo/public/cpp/bindings/clone_traits.h" 48 #include "mojo/public/cpp/bindings/clone_traits.h"
48 #include "mojo/public/cpp/bindings/interface_ptr.h" 49 #include "mojo/public/cpp/bindings/interface_ptr.h"
49 #include "mojo/public/cpp/bindings/interface_request.h" 50 #include "mojo/public/cpp/bindings/interface_request.h"
50 #include "mojo/public/cpp/bindings/lib/equals_traits.h" 51 #include "mojo/public/cpp/bindings/lib/equals_traits.h"
51 #include "mojo/public/cpp/bindings/lib/control_message_handler.h" 52 #include "mojo/public/cpp/bindings/lib/control_message_handler.h"
52 #include "mojo/public/cpp/bindings/lib/control_message_proxy.h" 53 #include "mojo/public/cpp/bindings/lib/control_message_proxy.h"
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 {#--- Union Serialization Helpers -#} 227 {#--- Union Serialization Helpers -#}
227 {% if unions %} 228 {% if unions %}
228 {%- for union in unions %} 229 {%- for union in unions %}
229 {% include "union_traits_declaration.tmpl" %} 230 {% include "union_traits_declaration.tmpl" %}
230 {%- endfor %} 231 {%- endfor %}
231 {%- endif %} 232 {%- endif %}
232 233
233 } // namespace mojo 234 } // namespace mojo
234 235
235 #endif // {{header_guard}} 236 #endif // {{header_guard}}
OLDNEW
« no previous file with comments | « mojo/public/tools/bindings/generators/cpp_templates/interface_stub_declaration.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698