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

Unified Diff: mojo/public/bindings/generators/mojom.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
Index: mojo/public/bindings/generators/mojom.py
diff --git a/mojo/public/bindings/generators/mojom.py b/mojo/public/bindings/generators/mojom.py
index 4f789b7cee4ce9fd859139de6e5d98b491a0211c..1bda236f7a24e83f292175ca67b0dab7635bcd45 100644
--- a/mojo/public/bindings/generators/mojom.py
+++ b/mojo/public/bindings/generators/mojom.py
@@ -104,8 +104,9 @@ class Method(object):
class Interface(object):
- def __init__(self, name = None):
+ def __init__(self, name = None, peer = None):
self.name = name
+ self.peer = peer
self.methods = []
def AddMethod(self, name, ordinal = None):

Powered by Google App Engine
This is Rietveld 408576698