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

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

Issue 2962593002: Added Editor stream and sendObjectToEditor RPC into Service Protocol (Closed)
Patch Set: Added explanation comment Created 3 years, 6 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/observatory/lib/src/repositories/editor.dart ('k') | runtime/observatory/observatory_sources.gypi » ('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 0e4529a059de5bad5015d1ae9ef4d58ede26be56..46985a378ba61ac2ce3037cedc2dda4919d19a90 100644
--- a/runtime/observatory/lib/src/service/object.dart
+++ b/runtime/observatory/lib/src/service/object.dart
@@ -2125,6 +2125,7 @@ class ServiceEvent extends ServiceObject {
static const kConnectionClosed = 'ConnectionClosed';
static const kLogging = '_Logging';
static const kExtension = 'Extension';
+ static const kEditor = '_Editor';
ServiceEvent._empty(ServiceObjectOwner owner) : super._empty(owner);
@@ -2154,6 +2155,8 @@ class ServiceEvent extends ServiceObject {
List timelineEvents;
String spawnToken;
String spawnError;
+ String editor;
+ ServiceObject object;
int chunkIndex, chunkCount, nodeCount;
@@ -2244,6 +2247,12 @@ class ServiceEvent extends ServiceObject {
if (map['spawnError'] != null) {
spawnError = map['spawnError'];
}
+ if (map['editor'] != null) {
+ editor = map['editor'];
+ }
+ if (map['object'] != null) {
+ object = map['object'];
+ }
}
String toString() {
« no previous file with comments | « runtime/observatory/lib/src/repositories/editor.dart ('k') | runtime/observatory/observatory_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698