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

Unified Diff: mojo/public/tools/bindings/pylib/mojom/generate/data.py

Issue 265793015: Mojo: Replace RemotePtr with InterfacePtr and InterfaceImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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
Index: mojo/public/tools/bindings/pylib/mojom/generate/data.py
diff --git a/mojo/public/tools/bindings/pylib/mojom/generate/data.py b/mojo/public/tools/bindings/pylib/mojom/generate/data.py
index cbe65a7c51d1b375866493ff1fa887d82f0c3451..93bb4c8eec3d6ee9031dcc9972db958ef8f16e97 100644
--- a/mojo/public/tools/bindings/pylib/mojom/generate/data.py
+++ b/mojo/public/tools/bindings/pylib/mojom/generate/data.py
@@ -223,7 +223,7 @@ def MethodFromData(module, data, interface):
def InterfaceToData(interface):
return {
istr(0, 'name'): interface.name,
- istr(1, 'peer'): interface.peer,
+ istr(1, 'client'): interface.client,
istr(2, 'methods'): map(MethodToData, interface.methods)
}
@@ -231,7 +231,7 @@ def InterfaceFromData(module, data):
interface = mojom.Interface(module=module)
interface.name = data['name']
interface.spec = 'x:' + module.namespace + '.' + interface.name
- interface.peer = data['peer'] if data.has_key('peer') else None
+ interface.client = data['client'] if data.has_key('client') else None
module.kinds[interface.spec] = interface
interface.enums = map(lambda enum:
EnumFromData(module, enum, interface), data['enums'])

Powered by Google App Engine
This is Rietveld 408576698