| Index: mojo/dart/packages/mojo_services/lib/mojo/content_handler.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/mojo/content_handler.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/content_handler.mojom.dart
|
| index 7631019043bb2e50251815426fcc16e47753e09b..4c3425375313375d131e673df1f5910c5ef4d50c 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/mojo/content_handler.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/mojo/content_handler.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/mojo/application.mojom.dart' as application_mojom;
|
| import 'package:mojo/mojo/url_response.mojom.dart' as url_response_mojom;
|
|
|
| @@ -87,8 +89,22 @@ class _ContentHandlerStartApplicationParams extends bindings.Struct {
|
| }
|
| }
|
|
|
| +
|
| +
|
| +
|
| const int _ContentHandler_startApplicationName = 0;
|
|
|
| +
|
| +
|
| +class _ContentHandlerServiceDescription implements service_describer.ServiceDescription {
|
| +dynamic getTopLevelInterface([Function responseFactory = null]) => null;
|
| +
|
| + dynamic getTypeDefinition(String typeKey, [Function responseFactory = null]) =>
|
| + null;
|
| +
|
| + dynamic getAllTypeDefinitions([Function responseFactory = null]) => null;
|
| +}
|
| +
|
| abstract class ContentHandler {
|
| static const String serviceName = "mojo::ContentHandler";
|
| void startApplication(Object application, url_response_mojom.UrlResponse response);
|
| @@ -110,6 +126,9 @@ class _ContentHandlerProxyImpl extends bindings.Proxy {
|
| return new _ContentHandlerProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ContentHandlerServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| default:
|
| @@ -254,6 +273,11 @@ class ContentHandlerStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ContentHandlerServiceDescription();
|
| }
|
|
|
|
|
| +
|
| +
|
|
|