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

Unified Diff: runtime/vm/trace_buffer.h

Issue 227423005: Add TraceBuffer log to all Functions (plus small tweaks to function-view) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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/trace_buffer.h
diff --git a/runtime/vm/trace_buffer.h b/runtime/vm/trace_buffer.h
index f8b1c78de406e15451c8fb8cefbb36dcf68dd095..3db7b098a4dacfe33a77ad657b7ff2c437a73e0f 100644
--- a/runtime/vm/trace_buffer.h
+++ b/runtime/vm/trace_buffer.h
@@ -11,6 +11,7 @@
namespace dart {
+class JSONObject;
class JSONStream;
struct TraceBufferEntry {
@@ -36,6 +37,7 @@ class TraceBuffer {
void Trace(const char* message);
void TraceF(const char* format, ...) PRINTF_ATTRIBUTE(2, 3);
+ void PrintToJSONObject(JSONObject* obj) const;
void PrintToJSONStream(JSONStream* stream) const;
private:

Powered by Google App Engine
This is Rietveld 408576698