| Index: runtime/vm/json_stream.h
 | 
| diff --git a/runtime/vm/json_stream.h b/runtime/vm/json_stream.h
 | 
| index 8784b3979c95f262213203d270dc930e4f3c2744..3c3bc9c1d3b83244f19c7a3f17a577179f7cb4b3 100644
 | 
| --- a/runtime/vm/json_stream.h
 | 
| +++ b/runtime/vm/json_stream.h
 | 
| @@ -26,6 +26,22 @@ class SourceBreakpoint;
 | 
|  class String;
 | 
|  class Zone;
 | 
|  
 | 
| +
 | 
| +enum JSONRpcErrorCode {
 | 
| +  kParseError     = -32700,
 | 
| +  kInvalidRequest = -32600,
 | 
| +  kMethodNotFound = -32601,
 | 
| +  kInvalidParams  = -32602,
 | 
| +  kInternalError  = -32603,
 | 
| +
 | 
| +  kVMMustBePaused    = 100,
 | 
| +  kNoBreakAtLine     = 101,
 | 
| +  kNoBreakAtFunction = 102,
 | 
| +
 | 
| +  kProfilingDisabled = 200,
 | 
| +};
 | 
| +
 | 
| +
 | 
|  class JSONStream : ValueObject {
 | 
|   public:
 | 
|    explicit JSONStream(intptr_t buf_size = 256);
 | 
| @@ -39,6 +55,8 @@ class JSONStream : ValueObject {
 | 
|               const Array& param_values);
 | 
|    void SetupError();
 | 
|  
 | 
| +  void PrintError(intptr_t code, const char* details_format, ...);
 | 
| +
 | 
|    void PostReply();
 | 
|  
 | 
|    void set_id_zone(ServiceIdZone* id_zone) {
 | 
| 
 |