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

Unified Diff: trunk/src/mojo/public/tools/bindings/generators/mojom_cpp_generator.py

Issue 383083002: Revert 282555 "Mojo: Add support for InterfacePtr as a struct me..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/mojo/public/tools/bindings/generators/cpp_templates/struct_serialization_definition.tmpl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/mojo/public/tools/bindings/generators/mojom_cpp_generator.py
===================================================================
--- trunk/src/mojo/public/tools/bindings/generators/mojom_cpp_generator.py (revision 282559)
+++ trunk/src/mojo/public/tools/bindings/generators/mojom_cpp_generator.py (working copy)
@@ -128,7 +128,7 @@
if isinstance(kind, (mojom.Array, mojom.FixedArray)):
return "mojo::Array<%s>" % GetCppArrayArgWrapperType(kind.kind)
if isinstance(kind, mojom.Interface):
- return "%sPtr" % GetNameForKind(kind)
+ return "mojo::ScopedMessagePipeHandle"
if isinstance(kind, mojom.InterfaceRequest):
raise Exception("InterfaceRequest fields not supported!")
if kind.spec == 's':
« no previous file with comments | « trunk/src/mojo/public/tools/bindings/generators/cpp_templates/struct_serialization_definition.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698