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

Unified Diff: runtime/vm/json_stream.h

Issue 979823003: Major rework of vm service events. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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/vm/isolate.cc ('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 b15c3d5d077edf24078c416b0312cc14249ba50b..17792cc5567bddce63c0a3b131b67c34dd9b2fd5 100644
--- a/runtime/vm/json_stream.h
+++ b/runtime/vm/json_stream.h
@@ -11,17 +11,17 @@
namespace dart {
-class DebuggerEvent;
-class Field;
class Array;
+class Field;
class GrowableObjectArray;
class Instance;
class JSONArray;
class JSONObject;
+class Metric;
class Object;
+class ServiceEvent;
class SourceBreakpoint;
class String;
-class Metric;
class Zone;
class JSONStream : ValueObject {
@@ -86,7 +86,7 @@ class JSONStream : ValueObject {
void PrintfValue(const char* format, ...) PRINTF_ATTRIBUTE(2, 3);
void PrintValue(const Object& o, bool ref = true);
void PrintValue(SourceBreakpoint* bpt);
- void PrintValue(const DebuggerEvent* event);
+ void PrintValue(const ServiceEvent* event);
void PrintValue(Metric* metric);
void PrintValue(Isolate* isolate, bool ref = true);
bool PrintValueStr(const String& s, intptr_t limit);
@@ -102,7 +102,7 @@ class JSONStream : ValueObject {
PRINTF_ATTRIBUTE(3, 4);
void PrintProperty(const char* name, const Object& o, bool ref = true);
- void PrintProperty(const char* name, const DebuggerEvent* event);
+ void PrintProperty(const char* name, const ServiceEvent* event);
void PrintProperty(const char* name, SourceBreakpoint* bpt);
void PrintProperty(const char* name, Metric* metric);
void PrintProperty(const char* name, Isolate* isolate);
@@ -170,7 +170,7 @@ class JSONObject : public ValueObject {
void AddProperty(const char* name, const Object& obj, bool ref = true) const {
stream_->PrintProperty(name, obj, ref);
}
- void AddProperty(const char* name, const DebuggerEvent* event) const {
+ void AddProperty(const char* name, const ServiceEvent* event) const {
stream_->PrintProperty(name, event);
}
void AddProperty(const char* name, SourceBreakpoint* bpt) const {
@@ -224,7 +224,7 @@ class JSONArray : public ValueObject {
void AddValue(SourceBreakpoint* bpt) const {
stream_->PrintValue(bpt);
}
- void AddValue(const DebuggerEvent* event) const {
+ void AddValue(const ServiceEvent* event) const {
stream_->PrintValue(event);
}
void AddValue(Metric* metric) const {
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/json_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698