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

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

Issue 2265513003: Converted Observatory object-common element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fixed typos 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/inbound_references.dart
diff --git a/runtime/observatory/lib/src/models/objects/notification.dart b/runtime/observatory/lib/src/models/objects/inbound_references.dart
similarity index 50%
copy from runtime/observatory/lib/src/models/objects/notification.dart
copy to runtime/observatory/lib/src/models/objects/inbound_references.dart
index 3a2ae9a40d72d19829136a970c10cf25d6494b2f..13c3c036644c85b382c9eff360fcabb5677c5c48 100644
--- a/runtime/observatory/lib/src/models/objects/notification.dart
+++ b/runtime/observatory/lib/src/models/objects/inbound_references.dart
@@ -4,14 +4,16 @@
part of models;
-abstract class Notification {}
-
-abstract class ExceptionNotification implements Notification{
- Exception get exception;
- /// [optional]
- StackTrace get stacktrace;
+abstract class InboundReferences {
+ Iterable<InboundReference> get elements;
}
-abstract class EventNotification implements Notification{
- Event get event;
+abstract class InboundReference {
+ ObjectRef get source;
+ /// [optional]
+ ObjectRef get parentField;
+ /// [optional]
+ int get parentListIndex;
+ /// [optional]
+ int get parentWordOffset;
}

Powered by Google App Engine
This is Rietveld 408576698