| OLD | NEW | 
|---|
| 1 // Copyright (c) 2014, the Dart project authors.  Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors.  Please see the AUTHORS file | 
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a | 
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. | 
| 4 | 4 | 
| 5 part of service; | 5 part of service; | 
| 6 | 6 | 
| 7 // Some value smaller than the object ring, so requesting a large array | 7 // Some value smaller than the object ring, so requesting a large array | 
| 8 // doesn't result in an expired ref because the elements lapped it in the | 8 // doesn't result in an expired ref because the elements lapped it in the | 
| 9 // object ring. | 9 // object ring. | 
| 10 const int kDefaultFieldLimit = 100; | 10 const int kDefaultFieldLimit = 100; | 
| (...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 888   } | 888   } | 
| 889 | 889 | 
| 890   Future setName(String newName) { | 890   Future setName(String newName) { | 
| 891     return invokeRpc('setVMName', {'name': newName}); | 891     return invokeRpc('setVMName', {'name': newName}); | 
| 892   } | 892   } | 
| 893 | 893 | 
| 894   Future<ServiceObject> getFlagList() { | 894   Future<ServiceObject> getFlagList() { | 
| 895     return invokeRpc('getFlagList', {}); | 895     return invokeRpc('getFlagList', {}); | 
| 896   } | 896   } | 
| 897 | 897 | 
| 898   Future enableProfiler() { |  | 
| 899     return invokeRpc("_enableProfiler", {}); |  | 
| 900   } |  | 
| 901 |  | 
| 902   Future<ServiceObject> _streamListen(String streamId) { | 898   Future<ServiceObject> _streamListen(String streamId) { | 
| 903     Map params = { | 899     Map params = { | 
| 904       'streamId': streamId, | 900       'streamId': streamId, | 
| 905     }; | 901     }; | 
| 906     // Ignore network errors on stream listen. | 902     // Ignore network errors on stream listen. | 
| 907     return invokeRpc('streamListen', params) | 903     return invokeRpc('streamListen', params) | 
| 908         .catchError((e) => ignoreNetworkErrors(e)); | 904         .catchError((e) => ignoreNetworkErrors(e)); | 
| 909   } | 905   } | 
| 910 | 906 | 
| 911   Future<ServiceObject> _streamCancel(String streamId) { | 907   Future<ServiceObject> _streamCancel(String streamId) { | 
| (...skipping 3791 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 4703   final String alias; | 4699   final String alias; | 
| 4704   final String method; | 4700   final String method; | 
| 4705   final String service; | 4701   final String service; | 
| 4706 | 4702 | 
| 4707   Service(this.alias, this.method, this.service) { | 4703   Service(this.alias, this.method, this.service) { | 
| 4708     assert(this.alias != null); | 4704     assert(this.alias != null); | 
| 4709     assert(this.method != null); | 4705     assert(this.method != null); | 
| 4710     assert(this.service != null); | 4706     assert(this.service != null); | 
| 4711   } | 4707   } | 
| 4712 } | 4708 } | 
| OLD | NEW | 
|---|