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

Unified Diff: runtime/bin/vmservice/observatory/lib/src/service/object.dart

Issue 488233003: More service api cleanup. camelCasePropertyNames (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js, etc. Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/vmservice/observatory/lib/src/elements/field_view.html ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/observatory/lib/src/service/object.dart
diff --git a/runtime/bin/vmservice/observatory/lib/src/service/object.dart b/runtime/bin/vmservice/observatory/lib/src/service/object.dart
index a4cbe2c738205ff4a8ba023f84b9b1aef76d8490..d1bad5f5cfbba99a9d9af8b62ad71f2831d6c61f 100644
--- a/runtime/bin/vmservice/observatory/lib/src/service/object.dart
+++ b/runtime/bin/vmservice/observatory/lib/src/service/object.dart
@@ -1475,18 +1475,18 @@ class ServiceFunction extends ServiceObject with Coverage {
if (mapIsRef) { return; }
- isStatic = map['isStatic'];
- isConst = map['isConst'];
+ isStatic = map['static'];
+ isConst = map['const'];
parent = map['parent'];
script = map['script'];
tokenPos = map['tokenPos'];
endTokenPos = map['endTokenPos'];
code = _convertNull(map['code']);
- unoptimizedCode = _convertNull(map['unoptimized_code']);
- isOptimizable = map['is_optimizable'];
- isInlinable = map['is_inlinable'];
+ unoptimizedCode = _convertNull(map['unoptimizedCode']);
+ isOptimizable = map['optimizable'];
+ isInlinable = map['inlinable'];
deoptimizations = map['deoptimizations'];
- usageCounter = map['usage_counter'];
+ usageCounter = map['usageCounter'];
if (parent == null) {
qualifiedName = (owningClass != null) ?
@@ -1594,7 +1594,7 @@ class Script extends ServiceObject with Coverage {
}
_processSource(map['source']);
_parseTokenPosTable(map['tokenPosTable']);
- owningLibrary = map['owning_library'];
+ owningLibrary = map['owningLibrary'];
}
void _parseTokenPosTable(List<List<int>> table) {
@@ -2002,12 +2002,12 @@ class Code extends ServiceObject {
void _update(ObservableMap m, bool mapIsRef) {
name = m['name'];
vmName = (m.containsKey('vmName') ? m['vmName'] : name);
- isOptimized = m['isOptimized'] != null ? m['isOptimized'] : false;
+ isOptimized = m['optimized'] != null ? m['optimized'] : false;
kind = CodeKind.fromString(m['kind']);
startAddress = int.parse(m['start'], radix:16);
endAddress = int.parse(m['end'], radix:16);
function = isolate.getFromMap(m['function']);
- objectPool = isolate.getFromMap(m['object_pool']);
+ objectPool = isolate.getFromMap(m['objectPool']);
var disassembly = m['disassembly'];
if (disassembly != null) {
_processDisassembly(disassembly);
« no previous file with comments | « runtime/bin/vmservice/observatory/lib/src/elements/field_view.html ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698