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

Unified Diff: runtime/vm/service/service.md

Issue 1527793004: Provide list of service protocol extensions in isolate and emit an event when one is registered (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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/vm/service/service.md
diff --git a/runtime/vm/service/service.md b/runtime/vm/service/service.md
index e71169d8334b1d9582eb1df76d12c68349a63bbc..86073470da55739cd12cedd60cb662e34ef9ef80 100644
--- a/runtime/vm/service/service.md
+++ b/runtime/vm/service/service.md
@@ -715,7 +715,7 @@ The _streamId_ parameter may have the following published values:
streamId | event types provided
-------- | -----------
VM | VMUpdate
-Isolate | IsolateStart, IsolateRunnable, IsolateExit, IsolateUpdate
+Isolate | IsolateStart, IsolateRunnable, IsolateExit, IsolateUpdate, ServiceExtensionAdded
Debug | PauseStart, PauseExit, PauseBreakpoint, PauseInterrupted, PauseException, Resume, BreakpointAdded, BreakpointResolved, BreakpointRemoved, Inspect
GC | GC
@@ -1139,6 +1139,11 @@ class Event extends Response {
//
// This is provided for the Inspect event.
@Instance inspectee [optional];
+
+ // The method name of the service extension that was added.
turnidge 2015/12/16 21:26:05 RPC name?
+ //
+ // This is provided for the ServiceExtensionAdded.
+ string serviceExtensionName [optional];
turnidge 2015/12/16 21:26:05 extensionRPC
}
```
@@ -1815,6 +1820,9 @@ class Isolate extends Response {
// The current pause on exception mode for this isolate.
ExceptionPauseMode exceptionPauseMode;
+
+ // The list of service extension methods that are registered on this isolate.
turnidge 2015/12/16 21:26:05 methods -> rpcs
+ string[] serviceExtensions;
turnidge 2015/12/16 21:26:05 serviceExtensions -> extensionRPCs
}
```
@@ -2281,7 +2289,7 @@ version | comments
------- | --------
1.0 | initial revision
2.0 | Describe protocol version 2.0.
-3.0 | Describe protocol version 3.0. Added UnresolvedSourceLocation. Added Sentinel return to getIsolate. Add AddedBreakpointWithScriptUri. Removed Isolate.entry. The type of VM.pid was changed from string to int. Added VMUpdate events. Add offset and count parameters to getObject() and offset and count fields to Instance.
+3.0 | Describe protocol version 3.0. Added UnresolvedSourceLocation. Added Sentinel return to getIsolate. Add AddedBreakpointWithScriptUri. Removed Isolate.entry. The type of VM.pid was changed from string to int. Added VMUpdate events. Add offset and count parameters to getObject() and offset and count fields to Instance. Added ServiceExtensionAdded event.
[discuss-list]: https://groups.google.com/a/dartlang.org/forum/#!forum/observatory-discuss
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/service_event.h » ('j') | runtime/vm/service_event.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698