| Index: runtime/vm/json_stream.h
|
| diff --git a/runtime/vm/json_stream.h b/runtime/vm/json_stream.h
|
| index 7ed98f0d96407aacd25fc3a698ea8bbfc8728bae..548e5538ad05c42187a14399dc9732dcea2bc27e 100644
|
| --- a/runtime/vm/json_stream.h
|
| +++ b/runtime/vm/json_stream.h
|
| @@ -12,17 +12,26 @@
|
| namespace dart {
|
|
|
| class Field;
|
| +class GrowableObjectArray;
|
| class Instance;
|
| class JSONArray;
|
| class JSONObject;
|
| class Object;
|
| class SourceBreakpoint;
|
| +class Zone;
|
|
|
| class JSONStream : ValueObject {
|
| public:
|
| explicit JSONStream(intptr_t buf_size = 256);
|
| ~JSONStream();
|
|
|
| + void Setup(Zone* zone,
|
| + const Instance& reply_port,
|
| + const GrowableObjectArray& path,
|
| + const GrowableObjectArray& option_keys,
|
| + const GrowableObjectArray& option_values);
|
| + void PostReply();
|
| +
|
| TextBuffer* buffer() { return &buffer_; }
|
| const char* ToCString() { return buffer_.buf(); }
|
|
|
| @@ -81,11 +90,13 @@ class JSONStream : ValueObject {
|
| intptr_t open_objects_;
|
| TextBuffer buffer_;
|
| Dart_Port reply_port_;
|
| + const char* command_;
|
| const char** arguments_;
|
| intptr_t num_arguments_;
|
| const char** option_keys_;
|
| const char** option_values_;
|
| intptr_t num_options_;
|
| + int64_t setup_time_micros_;
|
|
|
| friend class JSONObject;
|
| friend class JSONArray;
|
|
|