| 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 contacts_mojom; | 5 library contacts_mojom; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 | 8 |
| 9 import 'package:mojo/bindings.dart' as bindings; | 9 import 'package:mojo/bindings.dart' as bindings; |
| 10 import 'package:mojo/core.dart' as core; | 10 import 'package:mojo/core.dart' as core; |
| (...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 767 | 767 |
| 768 | 768 |
| 769 const int _ContactsService_getCountName = 0; | 769 const int _ContactsService_getCountName = 0; |
| 770 const int _ContactsService_getName = 1; | 770 const int _ContactsService_getName = 1; |
| 771 const int _ContactsService_getEmailsName = 2; | 771 const int _ContactsService_getEmailsName = 2; |
| 772 const int _ContactsService_getPhotoName = 3; | 772 const int _ContactsService_getPhotoName = 3; |
| 773 | 773 |
| 774 | 774 |
| 775 | 775 |
| 776 class _ContactsServiceServiceDescription implements service_describer.ServiceDes
cription { | 776 class _ContactsServiceServiceDescription implements service_describer.ServiceDes
cription { |
| 777 dynamic getTopLevelInterface([Function responseFactory]) => null; | 777 dynamic getTopLevelInterface([Function responseFactory]) => |
| 778 responseFactory(null); |
| 778 | 779 |
| 779 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; | 780 dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => |
| 781 responseFactory(null); |
| 780 | 782 |
| 781 dynamic getAllTypeDefinitions([Function responseFactory]) => null; | 783 dynamic getAllTypeDefinitions([Function responseFactory]) => |
| 784 responseFactory(null); |
| 782 } | 785 } |
| 783 | 786 |
| 784 abstract class ContactsService { | 787 abstract class ContactsService { |
| 785 static const String serviceName = "contacts::ContactsService"; | 788 static const String serviceName = "contacts::ContactsService"; |
| 786 dynamic getCount(String filter,[Function responseFactory = null]); | 789 dynamic getCount(String filter,[Function responseFactory = null]); |
| 787 dynamic get(String filter,int offset,int limit,[Function responseFactory = nul
l]); | 790 dynamic get(String filter,int offset,int limit,[Function responseFactory = nul
l]); |
| 788 dynamic getEmails(int id,[Function responseFactory = null]); | 791 dynamic getEmails(int id,[Function responseFactory = null]); |
| 789 dynamic getPhoto(int id,bool highResolution,[Function responseFactory = null])
; | 792 dynamic getPhoto(int id,bool highResolution,[Function responseFactory = null])
; |
| 790 } | 793 } |
| 791 | 794 |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1158 _impl = d; | 1161 _impl = d; |
| 1159 } | 1162 } |
| 1160 | 1163 |
| 1161 String toString() { | 1164 String toString() { |
| 1162 var superString = super.toString(); | 1165 var superString = super.toString(); |
| 1163 return "ContactsServiceStub($superString)"; | 1166 return "ContactsServiceStub($superString)"; |
| 1164 } | 1167 } |
| 1165 | 1168 |
| 1166 int get version => 0; | 1169 int get version => 0; |
| 1167 | 1170 |
| 1168 service_describer.ServiceDescription get serviceDescription => | 1171 static service_describer.ServiceDescription get serviceDescription => |
| 1169 new _ContactsServiceServiceDescription(); | 1172 new _ContactsServiceServiceDescription(); |
| 1170 } | 1173 } |
| 1171 | 1174 |
| 1172 | 1175 |
| 1173 | 1176 |
| OLD | NEW |