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

Unified Diff: mojo/public/bindings/generators/mojom_cpp_generator.py

Issue 66353002: Mojo: RemotePtr<S> + bindings changes for Peer attribute. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase + fix error in sample_service.h Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/bindings/generators/mojom.py ('k') | mojo/public/bindings/generators/mojom_data.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/bindings/generators/mojom_cpp_generator.py
diff --git a/mojo/public/bindings/generators/mojom_cpp_generator.py b/mojo/public/bindings/generators/mojom_cpp_generator.py
index e5c764e08ba645ee41a4a64b3709157fba898b65..f807f0f11bfcfcd7f6be02c82e58202c090c34bc 100644
--- a/mojo/public/bindings/generators/mojom_cpp_generator.py
+++ b/mojo/public/bindings/generators/mojom_cpp_generator.py
@@ -311,7 +311,8 @@ class CPPGenerator(object):
(method.name, ", ".join(params), method_postfix))
return template.substitute(
CLASS=interface.name,
- METHODS='.\n'.join(methods))
+ PEER=interface.peer,
+ METHODS='\n'.join(methods))
def GetInterfaceClassDeclarations(self):
template = self.GetTemplate("interface_declaration")
« no previous file with comments | « mojo/public/bindings/generators/mojom.py ('k') | mojo/public/bindings/generators/mojom_data.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698