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

Unified Diff: runtime/vm/json_stream.h

Issue 1276903004: Add timeline stream control and trace retrieval to the dart embedder api. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
Index: runtime/vm/json_stream.h
diff --git a/runtime/vm/json_stream.h b/runtime/vm/json_stream.h
index e581560d75932cbf2a0daf7f70c99570d1ab1c32..119e1291915e6af81d2f910452c6421caf003986 100644
--- a/runtime/vm/json_stream.h
+++ b/runtime/vm/json_stream.h
@@ -77,6 +77,8 @@ class JSONStream : ValueObject {
TextBuffer* buffer() { return &buffer_; }
const char* ToCString() { return buffer_.buf(); }
+ void Steal(const char** buffer, intptr_t* buffer_length);
+
void set_reply_port(Dart_Port port);
void SetParams(const char** param_keys, const char** param_values,

Powered by Google App Engine
This is Rietveld 408576698