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

Unified Diff: runtime/vm/json_stream.h

Issue 1164463005: Rename some service protocol errors. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: sync Created 5 years, 7 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/service/object.dart ('k') | runtime/vm/json_stream.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 5e0bf0c3bc153c0587d474f75be079a6b0dc6fc3..39bb0ac28cc81e14cbe06e32788a4942f7382e6b 100644
--- a/runtime/vm/json_stream.h
+++ b/runtime/vm/json_stream.h
@@ -27,6 +27,7 @@ class String;
class Zone;
+// Keep this in sync with runtime/observatory/lib/src/service/object.dart.
enum JSONRpcErrorCode {
kParseError = -32700,
kInvalidRequest = -32600,
@@ -34,11 +35,9 @@ enum JSONRpcErrorCode {
kInvalidParams = -32602,
kInternalError = -32603,
- kVMMustBePaused = 100,
- kNoBreakAtLine = 101,
- kNoBreakAtFunction = 102,
-
- kProfilingDisabled = 200,
+ kFeatureDisabled = 100,
+ kVMMustBePaused = 101,
+ kCannotAddBreakpoint = 102,
};
« no previous file with comments | « runtime/observatory/lib/src/service/object.dart ('k') | runtime/vm/json_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698