Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(476)

Side by Side Diff: mojo/dart/packages/mojo_services/lib/mojo/tcp_connected_socket.mojom.dart

Issue 1753013002: Mojom runtime type info: New implementation for Dart. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: No changes to sha1s Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698