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

Side by Side Diff: runtime/observatory/lib/src/service/object.dart

Issue 2073893002: Removed all analyzer issues from tests (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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 (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 1623 matching lines...) Expand 10 before | Expand all | Expand 10 after
1634 1634
1635 Future setExceptionPauseMode(String mode) { 1635 Future setExceptionPauseMode(String mode) {
1636 return invokeRpc('setExceptionPauseMode', {'mode': mode}); 1636 return invokeRpc('setExceptionPauseMode', {'mode': mode});
1637 } 1637 }
1638 1638
1639 Future<ServiceMap> getStack() { 1639 Future<ServiceMap> getStack() {
1640 return invokeRpc('getStack', {}); 1640 return invokeRpc('getStack', {});
1641 } 1641 }
1642 1642
1643 Future<ObjectStore> getObjectStore() { 1643 Future<ObjectStore> getObjectStore() {
1644 return invokeRpc('_getObjectStore', {}).then((map) { 1644 return invokeRpcNoUpgrade('_getObjectStore', {}).then((map) {
1645 ObjectStore objectStore = new ObjectStore._empty(this); 1645 ObjectStore objectStore = new ObjectStore._empty(this);
1646 objectStore._update(map, false); 1646 objectStore._update(map, false);
1647 return objectStore; 1647 return objectStore;
1648 }); 1648 });
1649 } 1649 }
1650 1650
1651 Future<ServiceObject> _eval(ServiceObject target, 1651 Future<ServiceObject> _eval(ServiceObject target,
1652 String expression) { 1652 String expression) {
1653 Map params = { 1653 Map params = {
1654 'targetId': target.id, 1654 'targetId': target.id,
(...skipping 2460 matching lines...) Expand 10 before | Expand all | Expand 10 after
4115 var v = list[i]; 4115 var v = list[i];
4116 if ((v is ObservableMap) && _isServiceMap(v)) { 4116 if ((v is ObservableMap) && _isServiceMap(v)) {
4117 list[i] = owner.getFromMap(v); 4117 list[i] = owner.getFromMap(v);
4118 } else if (v is ObservableList) { 4118 } else if (v is ObservableList) {
4119 _upgradeObservableList(v, owner); 4119 _upgradeObservableList(v, owner);
4120 } else if (v is ObservableMap) { 4120 } else if (v is ObservableMap) {
4121 _upgradeObservableMap(v, owner); 4121 _upgradeObservableMap(v, owner);
4122 } 4122 }
4123 } 4123 }
4124 } 4124 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698