Chromium Code Reviews| Index: pkg/analysis_server/lib/src/protocol.dart |
| diff --git a/pkg/analysis_server/lib/src/protocol.dart b/pkg/analysis_server/lib/src/protocol.dart |
| index 95eb38c972a9d7aff2d57dc488c74189b50b6032..4fa3e4c27afc8d82be8138207bc0aa0966a39d9c 100644 |
| --- a/pkg/analysis_server/lib/src/protocol.dart |
| +++ b/pkg/analysis_server/lib/src/protocol.dart |
| @@ -469,6 +469,7 @@ class Notification { |
| */ |
| Map<String, Object> toJson() { |
| Map<String, Object> jsonObject = {}; |
| + jsonObject['time'] = new DateTime.now().millisecondsSinceEpoch; |
|
danrubel
2015/01/23 14:16:53
Good idea, but I already have a pending CL to capt
scheglov
2015/01/23 16:27:40
Done.
|
| jsonObject[EVENT] = event; |
| if (_params != null) { |
| jsonObject[PARAMS] = _params; |
| @@ -829,6 +830,7 @@ class Response { |
| Map<String, Object> toJson() { |
| Map<String, Object> jsonObject = new HashMap<String, Object>(); |
| jsonObject[ID] = id; |
| + jsonObject['time'] = new DateTime.now().millisecondsSinceEpoch; |
|
danrubel
2015/01/23 14:16:53
Please remove this as described above.
scheglov
2015/01/23 16:27:40
Done.
|
| if (error != null) { |
| jsonObject[ERROR] = error.toJson(); |
| } |