| Index: mojo/public/tools/bindings/pylib/mojom/generate/module.py
|
| diff --git a/mojo/public/tools/bindings/pylib/mojom/generate/module.py b/mojo/public/tools/bindings/pylib/mojom/generate/module.py
|
| index b3e8e754d51ed9e37c7f46aea791b795cec029df..2070909b86281f78e4657ecbf2812cbb46dbe2d4 100644
|
| --- a/mojo/public/tools/bindings/pylib/mojom/generate/module.py
|
| +++ b/mojo/public/tools/bindings/pylib/mojom/generate/module.py
|
| @@ -475,6 +475,8 @@ def GetPackageName(kind):
|
| """Get the package name from the given kind's module."""
|
| return kind.module.name.split('.')[0]
|
|
|
| +# TODO(rudominer) Remove this once the switch to the new runtime type
|
| +# discovery mechanism is complete.
|
| def GetMojomTypeIdentifier(kind):
|
| """Get the mojom type's unique identifier from the kind's package and name."""
|
| # Note: InterfaceRequest's should use the Interface inside them.
|
| @@ -490,6 +492,8 @@ def GetMojomTypeIdentifier(kind):
|
|
|
| # Returns a string of the form package.path.TypeName - the full identifier
|
| # for an element.
|
| +# TODO(rudominer) Remove this once the switch to the new runtime type
|
| +# discovery mechanism is complete.
|
| def GetMojomTypeFullIdentifier(kind, exported=True):
|
| """Get the Full Identifier for a Mojom Type. Format: package.path.TypeName"""
|
| return '%s.%s' % (kind.module.namespace, GetMojomTypeName(kind))
|
|
|