Index: mojo/dart/packages/mojo_services/lib/mojo/authenticating_url_loader_interceptor_meta_factory.mojom.dart |
diff --git a/mojo/dart/packages/mojo_services/lib/mojo/authenticating_url_loader_interceptor_meta_factory.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/authenticating_url_loader_interceptor_meta_factory.mojom.dart |
index 12623d317e25e9f27a72c789ad278f734613b806..910c9985c35a85254b391e7f7c80125658ea8054 100644 |
--- a/mojo/dart/packages/mojo_services/lib/mojo/authenticating_url_loader_interceptor_meta_factory.mojom.dart |
+++ b/mojo/dart/packages/mojo_services/lib/mojo/authenticating_url_loader_interceptor_meta_factory.mojom.dart |
@@ -106,11 +106,14 @@ const int _AuthenticatingUrlLoaderInterceptorMetaFactory_createUrlLoaderIntercep |
class _AuthenticatingUrlLoaderInterceptorMetaFactoryServiceDescription implements service_describer.ServiceDescription { |
- dynamic getTopLevelInterface([Function responseFactory]) => null; |
+ dynamic getTopLevelInterface([Function responseFactory]) => |
+ responseFactory(null); |
- dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => |
+ responseFactory(null); |
- dynamic getAllTypeDefinitions([Function responseFactory]) => null; |
+ dynamic getAllTypeDefinitions([Function responseFactory]) => |
+ responseFactory(null); |
} |
abstract class AuthenticatingUrlLoaderInterceptorMetaFactory { |
@@ -282,8 +285,13 @@ class AuthenticatingUrlLoaderInterceptorMetaFactoryStub extends bindings.Stub { |
int get version => 0; |
- service_describer.ServiceDescription get serviceDescription => |
- new _AuthenticatingUrlLoaderInterceptorMetaFactoryServiceDescription(); |
+ static service_describer.ServiceDescription _cachedServiceDescription; |
+ static service_describer.ServiceDescription get serviceDescription { |
+ if (_cachedServiceDescription == null) { |
+ _cachedServiceDescription = new _AuthenticatingUrlLoaderInterceptorMetaFactoryServiceDescription(); |
+ } |
+ return _cachedServiceDescription; |
+ } |
} |