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

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

Issue 2980733003: Introduced support for external services registration in the ServiceProtocol (Closed)
Patch Set: Address comments Created 3 years, 5 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/event.dart
diff --git a/runtime/observatory/lib/src/models/objects/event.dart b/runtime/observatory/lib/src/models/objects/event.dart
index 9fd73594879cf90ea1ccad2ad583c19cd37e0204..4739554d31ee17b2e361a2850340085380ec54a3 100644
--- a/runtime/observatory/lib/src/models/objects/event.dart
+++ b/runtime/observatory/lib/src/models/objects/event.dart
@@ -197,3 +197,18 @@ bool isAtAsyncSuspension(DebugEvent event) {
}
return false;
}
+
+abstract class ServiceEvent extends Event {
+ /// The identifier of the service
+ String get service;
+
+ /// The JSON-RPC 2.0 Method that identifes this instance
+ String get method;
+}
+
+abstract class ServiceRegisteredEvent extends ServiceEvent {
+ /// The alias associated with this new instance
+ String get alias;
+}
+
+abstract class ServiceUnregisteredEvent extends ServiceEvent {}
« no previous file with comments | « runtime/observatory/lib/src/elements/nav/reload.dart ('k') | runtime/observatory/lib/src/models/objects/service.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698