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

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

Issue 1152753005: Service cleanups... (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Update docs. Tweak TypeRef and BoundedType. Created 5 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 /// An RpcException represents an exceptional event that happened 7 /// An RpcException represents an exceptional event that happened
8 /// while invoking an rpc. 8 /// while invoking an rpc.
9 abstract class RpcException implements Exception { 9 abstract class RpcException implements Exception {
10 RpcException(this.message); 10 RpcException(this.message);
(...skipping 1469 matching lines...) Expand 10 before | Expand all | Expand 10 after
1480 _loaded = true; 1480 _loaded = true;
1481 _upgradeCollection(map, owner); 1481 _upgradeCollection(map, owner);
1482 assert(map['isolate'] == null || owner == map['isolate']); 1482 assert(map['isolate'] == null || owner == map['isolate']);
1483 kind = map['kind']; 1483 kind = map['kind'];
1484 notifyPropertyChange(#isPauseEvent, 0, 1); 1484 notifyPropertyChange(#isPauseEvent, 0, 1);
1485 name = 'ServiceEvent $kind'; 1485 name = 'ServiceEvent $kind';
1486 vmName = name; 1486 vmName = name;
1487 if (map['breakpoint'] != null) { 1487 if (map['breakpoint'] != null) {
1488 breakpoint = map['breakpoint']; 1488 breakpoint = map['breakpoint'];
1489 } 1489 }
1490 // TODO(turnidge): Expose the full list of breakpoints. For now
1491 // we just pretend like there is only one active breakpoint.
1492 if (map['pauseBreakpoints'] != null) {
1493 var pauseBpts = map['pauseBreakpoints'];
1494 if (pauseBpts.length > 0) {
1495 breakpoint = pauseBpts[0];
1496 }
1497 }
1490 topFrame = map['topFrame']; 1498 topFrame = map['topFrame'];
1491 if (map['exception'] != null) { 1499 if (map['exception'] != null) {
1492 exception = map['exception']; 1500 exception = map['exception'];
1493 } 1501 }
1494 if (map['inspectee'] != null) { 1502 if (map['inspectee'] != null) {
1495 inspectee = map['inspectee']; 1503 inspectee = map['inspectee'];
1496 } 1504 }
1497 if (map['_data'] != null) { 1505 if (map['_data'] != null) {
1498 data = map['_data']; 1506 data = map['_data'];
1499 } 1507 }
(...skipping 1740 matching lines...) Expand 10 before | Expand all | Expand 10 after
3240 var v = list[i]; 3248 var v = list[i];
3241 if ((v is ObservableMap) && _isServiceMap(v)) { 3249 if ((v is ObservableMap) && _isServiceMap(v)) {
3242 list[i] = owner.getFromMap(v); 3250 list[i] = owner.getFromMap(v);
3243 } else if (v is ObservableList) { 3251 } else if (v is ObservableList) {
3244 _upgradeObservableList(v, owner); 3252 _upgradeObservableList(v, owner);
3245 } else if (v is ObservableMap) { 3253 } else if (v is ObservableMap) {
3246 _upgradeObservableMap(v, owner); 3254 _upgradeObservableMap(v, owner);
3247 } 3255 }
3248 } 3256 }
3249 } 3257 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/instance_view.html ('k') | runtime/observatory/tests/service/get_object_rpc_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698