Index: mojo/dart/packages/mojo_services/lib/mojo/http_server.mojom.dart |
diff --git a/mojo/dart/packages/mojo_services/lib/mojo/http_server.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/http_server.mojom.dart |
index 82d03196f32d88bfacfecd9efa7e40caf71d0417..9173da702a1f6f872004664a8a04e713ecd623bc 100644 |
--- a/mojo/dart/packages/mojo_services/lib/mojo/http_server.mojom.dart |
+++ b/mojo/dart/packages/mojo_services/lib/mojo/http_server.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; |
import 'package:mojo_services/mojo/http_connection.mojom.dart' as http_connection_mojom; |
@@ -85,8 +87,21 @@ class _HttpServerDelegateOnConnectedParams extends bindings.Struct { |
} |
} |
+ |
+ |
+ |
const int _HttpServerDelegate_onConnectedName = 0; |
+ |
+ |
+class _HttpServerDelegateServiceDescription implements service_describer.ServiceDescription { |
+ dynamic getTopLevelInterface([Function responseFactory]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory]) => null; |
+} |
+ |
abstract class HttpServerDelegate { |
static const String serviceName = null; |
void onConnected(Object connection, Object delegate); |
@@ -108,6 +123,9 @@ class _HttpServerDelegateProxyImpl extends bindings.Proxy { |
return new _HttpServerDelegateProxyImpl.fromEndpoint(endpoint); |
} |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _HttpServerDelegateServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
default: |
@@ -252,6 +270,10 @@ class HttpServerDelegateStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _HttpServerDelegateServiceDescription(); |
} |
+ |