| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 library authenticating_url_loader_interceptor_meta_factory_mojom; | 5 library authenticating_url_loader_interceptor_meta_factory_mojom; |
| 6 import 'dart:async'; | 6 import 'dart:async'; |
| 7 import 'package:mojo/bindings.dart' as bindings; | 7 import 'package:mojo/bindings.dart' as bindings; |
| 8 import 'package:mojo/core.dart' as core; | 8 import 'package:mojo/core.dart' as core; |
| 9 import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as servic
e_describer; | 9 import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as servic
e_describer; |
| 10 import 'package:mojo_services/authentication/authentication.mojom.dart' as authe
ntication_mojom; | 10 import 'package:mojo_services/authentication/authentication.mojom.dart' as authe
ntication_mojom; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 "factoryRequest: $factoryRequest" ", " | 88 "factoryRequest: $factoryRequest" ", " |
| 89 "authenticationService: $authenticationService" ")"; | 89 "authenticationService: $authenticationService" ")"; |
| 90 } | 90 } |
| 91 | 91 |
| 92 Map toJson() { | 92 Map toJson() { |
| 93 throw new bindings.MojoCodecError( | 93 throw new bindings.MojoCodecError( |
| 94 'Object containing handles cannot be encoded to JSON.'); | 94 'Object containing handles cannot be encoded to JSON.'); |
| 95 } | 95 } |
| 96 } | 96 } |
| 97 | 97 |
| 98 | |
| 99 | |
| 100 | |
| 101 const int _AuthenticatingUrlLoaderInterceptorMetaFactory_createUrlLoaderIntercep
torFactoryName = 0; | 98 const int _AuthenticatingUrlLoaderInterceptorMetaFactory_createUrlLoaderIntercep
torFactoryName = 0; |
| 102 | 99 |
| 103 | |
| 104 | |
| 105 class _AuthenticatingUrlLoaderInterceptorMetaFactoryServiceDescription implement
s service_describer.ServiceDescription { | 100 class _AuthenticatingUrlLoaderInterceptorMetaFactoryServiceDescription implement
s service_describer.ServiceDescription { |
| 106 dynamic getTopLevelInterface([Function responseFactory]) => | 101 dynamic getTopLevelInterface([Function responseFactory]) => |
| 107 responseFactory(null); | 102 responseFactory(null); |
| 108 | 103 |
| 109 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => | 104 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => |
| 110 responseFactory(null); | 105 responseFactory(null); |
| 111 | 106 |
| 112 dynamic getAllTypeDefinitions([Function responseFactory]) => | 107 dynamic getAllTypeDefinitions([Function responseFactory]) => |
| 113 responseFactory(null); | 108 responseFactory(null); |
| 114 } | 109 } |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 static service_describer.ServiceDescription get serviceDescription { | 281 static service_describer.ServiceDescription get serviceDescription { |
| 287 if (_cachedServiceDescription == null) { | 282 if (_cachedServiceDescription == null) { |
| 288 _cachedServiceDescription = new _AuthenticatingUrlLoaderInterceptorMetaFac
toryServiceDescription(); | 283 _cachedServiceDescription = new _AuthenticatingUrlLoaderInterceptorMetaFac
toryServiceDescription(); |
| 289 } | 284 } |
| 290 return _cachedServiceDescription; | 285 return _cachedServiceDescription; |
| 291 } | 286 } |
| 292 } | 287 } |
| 293 | 288 |
| 294 | 289 |
| 295 | 290 |
| OLD | NEW |