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

Unified Diff: runtime/vm/service/service.idl

Issue 895093002: Add getClassList RPC (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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/service.cc ('k') | tests/standalone/vmservice/field_script.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service/service.idl
diff --git a/runtime/vm/service/service.idl b/runtime/vm/service/service.idl
index 71bda63a091fd903a1297b2f17253d86391df70b..9b7c2b90e8cad15d9f73849088617e2a77553ca0 100644
--- a/runtime/vm/service/service.idl
+++ b/runtime/vm/service/service.idl
@@ -45,11 +45,11 @@ interface Service {
getTagProfile(isolateId string) TagProfile
// Returns an allocation profile for an isolate.
- //
+ //
// <code>reset</code> is optional and indicates whether allocation
// accumulators should be reset.
//
- // <code>gc</code> is optional and indicates whether a full
+ // <code>gc</code> is optional and indicates whether a full
getAllocationProfile(isolateId string,
reset bool,
gc GCOption) AllocationProfile
@@ -73,6 +73,8 @@ interface Service {
getInboundReferences(isolateId string,
targetId string,
limit int) InboundReferences
+
+ getClassList(isolateId string) ClassList
}
@@ -132,6 +134,11 @@ struct CodeRef extends ObjectRef {
}
+struct ClassRef extends ObjectRef {
+ placeholder int
+}
+
+
// A <code>FunctionRef</code> encodes a reference to a <code>Function</code> object.
struct FunctionRef extends ObjectRef {
placeholder int
@@ -156,6 +163,11 @@ struct ScriptRef extends ObjectRef {
}
+struct Class extends Object {
+ placeholder int
+}
+
+
// A <code>Location</code> encodes a location withing a dart script.
//
// TODO(turnidge): Should this really be broken out as its own type?
@@ -272,6 +284,11 @@ struct InboundReference {
}
+struct ClassList {
+ classes []Class
turnidge 2015/02/03 17:59:09 Class -> ClassRef
Cutch 2015/02/03 17:59:56 Done.
+}
+
+
// A <code>GCOption</code> is used to indicate which form of garbage
// collection is requested.
enum GCOption {
« no previous file with comments | « runtime/vm/service.cc ('k') | tests/standalone/vmservice/field_script.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698