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

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

Issue 2072543002: First cut at _spawnUri rpc in the vm service. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Code review Created 4 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
« no previous file with comments | « runtime/lib/vmservice_patch.dart ('k') | runtime/observatory/tests/service/dev_fs_spawn_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/service/object.dart
diff --git a/runtime/observatory/lib/src/service/object.dart b/runtime/observatory/lib/src/service/object.dart
index 18d29bf838d2fc9bc449a5c960b14712118ba2d1..f82f25cf840fd4de4495c611c728f93eac61bc33 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -1886,6 +1886,7 @@ class ServiceEvent extends ServiceObject {
static const kIsolateExit = 'IsolateExit';
static const kIsolateUpdate = 'IsolateUpdate';
static const kIsolateReload = 'IsolateReload';
+ static const kIsolateSpawn = 'IsolateSpawn';
static const kServiceExtensionAdded = 'ServiceExtensionAdded';
static const kPauseStart = 'PauseStart';
static const kPauseExit = 'PauseExit';
@@ -1929,6 +1930,8 @@ class ServiceEvent extends ServiceObject {
@observable String extensionKind;
@observable Map extensionData;
@observable List timelineEvents;
+ @observable String spawnToken;
+ @observable String spawnError;
int chunkIndex, chunkCount, nodeCount;
@@ -2011,6 +2014,12 @@ class ServiceEvent extends ServiceObject {
if (map['timelineEvents'] != null) {
timelineEvents = map['timelineEvents'];
}
+ if (map['spawnToken'] != null) {
+ spawnToken = map['spawnToken'];
+ }
+ if (map['spawnError'] != null) {
+ spawnError = map['spawnError'];
+ }
}
String toString() {
« no previous file with comments | « runtime/lib/vmservice_patch.dart ('k') | runtime/observatory/tests/service/dev_fs_spawn_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698