Index: mojo/public/go/application/connection.go |
diff --git a/mojo/public/go/application/connection.go b/mojo/public/go/application/connection.go |
index f3be55c9a691443630e02d33e3d7bbfe3ffe38db..119872e9275b24bdbc3e370a46609a9e0b30d4c4 100644 |
--- a/mojo/public/go/application/connection.go |
+++ b/mojo/public/go/application/connection.go |
@@ -11,6 +11,7 @@ import ( |
"mojo/public/go/system" |
sp "mojo/public/interfaces/application/service_provider" |
+ "mojo/public/interfaces/bindings/mojom_types" |
) |
type connectionInfo struct { |
@@ -34,6 +35,12 @@ type ServiceRequest interface { |
// Name returns the name of requested mojo service. |
Name() string |
+ // Type returns a type description of the interface. |
+ Type() mojom_types.MojomInterface |
+ |
+ // Descriptor returns the mapping between string identifiers and relevant UserDefinedTypes. |
+ Desc() map[string]mojom_types.UserDefinedType |
+ |
// PassMessagePipe passes ownership of the underlying message pipe |
// handle to the newly created handle object, invalidating the |
// underlying handle object in the process. |