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

Unified Diff: runtime/observatory/lib/src/models/objects/retaining_path.dart

Issue 2265513003: Converted Observatory object-common element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Addressed comments Created 4 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
Index: runtime/observatory/lib/src/models/objects/retaining_path.dart
diff --git a/runtime/observatory/lib/src/models/objects/bound_field.dart b/runtime/observatory/lib/src/models/objects/retaining_path.dart
similarity index 50%
copy from runtime/observatory/lib/src/models/objects/bound_field.dart
copy to runtime/observatory/lib/src/models/objects/retaining_path.dart
index cf2a38f632d72081cce25e080ff1f4ca2a1b34ba..24827ebc329dad66567b10c8fdc82fbe984555bd 100644
--- a/runtime/observatory/lib/src/models/objects/bound_field.dart
+++ b/runtime/observatory/lib/src/models/objects/retaining_path.dart
@@ -4,7 +4,16 @@
part of models;
-abstract class BoundField {
- FieldRef get decl;
- Guarded<InstanceRef> get value;
+abstract class RetainingPath {
+ Iterable<RetainingPathItem> get elements;
+}
+
+abstract class RetainingPathItem {
+ ObjectRef get source;
+ /// [optional]
+ InstanceRef get parentField;
+ /// [optional]
+ int get parentListIndex;
+ /// [optional]
+ int get parentWordOffset;
}

Powered by Google App Engine
This is Rietveld 408576698