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

Unified Diff: runtime/vm/object.h

Issue 110703002: Add an instance view page to the vmservice. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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/json_stream.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 31070)
+++ runtime/vm/object.h (working copy)
@@ -2194,6 +2194,12 @@
static bool IsGetterName(const String& function_name);
static bool IsSetterName(const String& function_name);
+ // When we print a field to a JSON stream, we want to make it appear
+ // that the value is a property of the field, so we allow the actual
+ // instance to be supplied here.
+ virtual void PrintToJSONStreamWithInstance(
+ JSONStream* stream, const Instance& instance, bool ref) const;
+
private:
enum {
kConstBit = 1,
« no previous file with comments | « runtime/vm/json_stream.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698