Index: mojo/dart/packages/mojo_services/lib/mojo/sharing.mojom.dart |
diff --git a/mojo/dart/packages/mojo_services/lib/mojo/sharing.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/sharing.mojom.dart |
index 3666938e71831150cc540540e5aa93a7416110f6..235978454778e17dcc73998396bdb024767bbf6b 100644 |
--- a/mojo/dart/packages/mojo_services/lib/mojo/sharing.mojom.dart |
+++ b/mojo/dart/packages/mojo_services/lib/mojo/sharing.mojom.dart |
@@ -8,6 +8,8 @@ import 'dart:async'; |
import 'package:mojo/bindings.dart' as bindings; |
import 'package:mojo/core.dart' as core; |
+import 'package:mojo/mojo/bindings/types/mojom_types.mojom.dart' as mojom_types; |
+import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as service_describer; |
@@ -77,8 +79,21 @@ class _SharingServiceShareTextParams extends bindings.Struct { |
} |
} |
+ |
+ |
+ |
const int _SharingService_shareTextName = 0; |
+ |
+ |
+class _SharingServiceServiceDescription implements service_describer.ServiceDescription { |
+ dynamic getTopLevelInterface([Function responseFactory]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory]) => null; |
+} |
+ |
abstract class SharingService { |
static const String serviceName = "mojo::SharingService"; |
void shareText(String text); |
@@ -100,6 +115,9 @@ class _SharingServiceProxyImpl extends bindings.Proxy { |
return new _SharingServiceProxyImpl.fromEndpoint(endpoint); |
} |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _SharingServiceServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
default: |
@@ -243,6 +261,10 @@ class SharingServiceStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _SharingServiceServiceDescription(); |
} |
+ |