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

Unified Diff: runtime/vm/json_stream.h

Issue 1166433008: 2nd attempt at adding streamListen/streamCancel to the service protocol. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fix context objects Created 5 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/vm/isolate.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/json_stream.h
diff --git a/runtime/vm/json_stream.h b/runtime/vm/json_stream.h
index c878ef7ee74aec3b770122debf8edf46d616b02f..4a061787afa18840eb60cb1ff690dfc7ffebcbd2 100644
--- a/runtime/vm/json_stream.h
+++ b/runtime/vm/json_stream.h
@@ -28,7 +28,11 @@ class String;
class Zone;
-// Keep this in sync with runtime/observatory/lib/src/service/object.dart.
+// Keep this enum in sync with:
+//
+// - runtime/vm/service/vmservice.dart
+// - runtime/observatory/lib/src/service/object.dart
+//
enum JSONRpcErrorCode {
kParseError = -32700,
kInvalidRequest = -32600,
@@ -36,9 +40,11 @@ enum JSONRpcErrorCode {
kInvalidParams = -32602,
kInternalError = -32603,
- kFeatureDisabled = 100,
- kVMMustBePaused = 101,
- kCannotAddBreakpoint = 102,
+ kFeatureDisabled = 100,
+ kVMMustBePaused = 101,
+ kCannotAddBreakpoint = 102,
+ kStreamAlreadySubscribed = 103,
+ kStreamNotSubscribed = 104,
};
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698