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

Unified Diff: runtime/vm/message.cc

Issue 1160873002: Sundry service protocol cleanups before version 1.0. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: pre commit 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/tests/service/weak_properties_test.dart ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/message.cc
diff --git a/runtime/vm/message.cc b/runtime/vm/message.cc
index e5bc7ed9973eb084287f2abc75e2d4c8ea49614c..906a16c035eb69a2c0e3ab34dd578f9bb0d1c059 100644
--- a/runtime/vm/message.cc
+++ b/runtime/vm/message.cc
@@ -191,15 +191,14 @@ void MessageQueue::PrintJSON(JSONStream* stream) {
while (it.HasNext()) {
Message* current = it.Next();
JSONObject message(&messages);
- message.AddProperty("type", "Message");
message.AddPropertyF("name", "Isolate Message (%" Px ")", current->Id());
message.AddPropertyF("messageObjectId", "messages/%" Px "",
current->Id());
message.AddProperty("size", current->len());
- message.AddProperty("depth", depth++);
+ message.AddProperty("index", depth++);
message.AddProperty("_destinationPort",
static_cast<intptr_t>(current->dest_port()));
- message.AddProperty("priority",
+ message.AddProperty("_priority",
Message::PriorityAsString(current->priority()));
// TODO(johnmccutchan): Move port -> handler map out of Dart and into the
// VM, that way we can lookup the handler without invoking Dart code.
« no previous file with comments | « runtime/observatory/tests/service/weak_properties_test.dart ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698