| Index: runtime/vm/json_stream.h
|
| diff --git a/runtime/vm/json_stream.h b/runtime/vm/json_stream.h
|
| index 4ada4e78714454238d3636311bebd198da3decd4..d314dbf62eae1cafa5bb861be4d802132fafca61 100644
|
| --- a/runtime/vm/json_stream.h
|
| +++ b/runtime/vm/json_stream.h
|
| @@ -117,6 +117,7 @@ class JSONStream : ValueObject {
|
| void PrintValueBool(bool b);
|
| void PrintValue(intptr_t i);
|
| void PrintValue64(int64_t i);
|
| + void PrintValueTimeMillis(int64_t millis);
|
| void PrintValue(double d);
|
| void PrintValueBase64(const uint8_t* bytes, intptr_t length);
|
| void PrintValue(const char* s);
|
| @@ -136,6 +137,7 @@ class JSONStream : ValueObject {
|
| void PrintPropertyBool(const char* name, bool b);
|
| void PrintProperty(const char* name, intptr_t i);
|
| void PrintProperty64(const char* name, int64_t i);
|
| + void PrintPropertyTimeMillis(const char* name, int64_t millis);
|
| void PrintProperty(const char* name, double d);
|
| void PrintPropertyBase64(const char* name,
|
| const uint8_t* bytes,
|
| @@ -214,6 +216,9 @@ class JSONObject : public ValueObject {
|
| void AddProperty64(const char* name, int64_t i) const {
|
| stream_->PrintProperty64(name, i);
|
| }
|
| + void AddPropertyTimeMillis(const char* name, int64_t millis) const {
|
| + stream_->PrintPropertyTimeMillis(name, millis);
|
| + }
|
| void AddProperty(const char* name, double d) const {
|
| stream_->PrintProperty(name, d);
|
| }
|
| @@ -285,6 +290,9 @@ class JSONArray : public ValueObject {
|
| void AddValue(bool b) const { stream_->PrintValueBool(b); }
|
| void AddValue(intptr_t i) const { stream_->PrintValue(i); }
|
| void AddValue64(int64_t i) const { stream_->PrintValue64(i); }
|
| + void AddValueTimeMillis(int64_t millis) const {
|
| + stream_->PrintValueTimeMillis(millis);
|
| + }
|
| void AddValue(double d) const { stream_->PrintValue(d); }
|
| void AddValue(const char* s) const { stream_->PrintValue(s); }
|
| void AddValue(const Object& obj, bool ref = true) const {
|
|
|