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 tcp_connected_socket_mojom; | 5 library tcp_connected_socket_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 | 10 |
11 | 11 |
12 | 12 |
13 | |
14 | |
15 | |
16 class _TcpConnectedSocketServiceDescription implements service_describer.Service
Description { | 13 class _TcpConnectedSocketServiceDescription implements service_describer.Service
Description { |
17 dynamic getTopLevelInterface([Function responseFactory]) => | 14 dynamic getTopLevelInterface([Function responseFactory]) => |
18 responseFactory(null); | 15 responseFactory(null); |
19 | 16 |
20 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => | 17 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => |
21 responseFactory(null); | 18 responseFactory(null); |
22 | 19 |
23 dynamic getAllTypeDefinitions([Function responseFactory]) => | 20 dynamic getAllTypeDefinitions([Function responseFactory]) => |
24 responseFactory(null); | 21 responseFactory(null); |
25 } | 22 } |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 static service_describer.ServiceDescription get serviceDescription { | 176 static service_describer.ServiceDescription get serviceDescription { |
180 if (_cachedServiceDescription == null) { | 177 if (_cachedServiceDescription == null) { |
181 _cachedServiceDescription = new _TcpConnectedSocketServiceDescription(); | 178 _cachedServiceDescription = new _TcpConnectedSocketServiceDescription(); |
182 } | 179 } |
183 return _cachedServiceDescription; | 180 return _cachedServiceDescription; |
184 } | 181 } |
185 } | 182 } |
186 | 183 |
187 | 184 |
188 | 185 |
OLD | NEW |