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

Unified Diff: runtime/vm/json_stream.h

Issue 1537523002: Add dart:developer.postEvent for posting events to the service protocol from Dart code (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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/vm/bootstrap_natives.h ('k') | runtime/vm/json_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/json_stream.h
diff --git a/runtime/vm/json_stream.h b/runtime/vm/json_stream.h
index 92cbc4e240bf657a9cf28469c1cb41ffb3bca39f..239c4e76f3241cd43f0523d3494b2fd010121188 100644
--- a/runtime/vm/json_stream.h
+++ b/runtime/vm/json_stream.h
@@ -126,6 +126,10 @@ class JSONStream : ValueObject {
// Append |serialized_object| to the stream.
void AppendSerializedObject(const char* serialized_object);
+ // Append |serialized_object| to the stream with |property_name|.
+ void AppendSerializedObject(const char* property_name,
+ const char* serialized_object);
+
private:
void Clear();
void PostNullReply(Dart_Port port);
« no previous file with comments | « runtime/vm/bootstrap_natives.h ('k') | runtime/vm/json_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698