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

Unified Diff: runtime/vm/json_stream.cc

Issue 1256023003: Use a "jsonrpc" field rather than "json-rpc" in the VM service. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | runtime/vm/service/service.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/json_stream.cc
diff --git a/runtime/vm/json_stream.cc b/runtime/vm/json_stream.cc
index 9a3054b3d83034286ddc7c3e8019d568132fd31b..96dfb0d605d2d0c6d4da01921c03e772adc65b86 100644
--- a/runtime/vm/json_stream.cc
+++ b/runtime/vm/json_stream.cc
@@ -74,13 +74,13 @@ void JSONStream::Setup(Zone* zone,
isolate_name, method_);
setup_time_micros_ = OS::GetCurrentTimeMicros();
}
- buffer_.Printf("{\"json-rpc\":\"2.0\", \"result\":");
+ buffer_.Printf("{\"jsonrpc\":\"2.0\", \"result\":");
}
void JSONStream::SetupError() {
buffer_.Clear();
- buffer_.Printf("{\"json-rpc\":\"2.0\", \"error\":");
+ buffer_.Printf("{\"jsonrpc\":\"2.0\", \"error\":");
}
« no previous file with comments | « no previous file | runtime/vm/service/service.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698