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

Unified Diff: vm/visitor.h

Issue 10030001: Resubmit change 6302 after fixing the compiler warning on older GCC compiler versions: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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
« vm/stack_frame.cc ('K') | « vm/unit_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/visitor.h
===================================================================
--- vm/visitor.h (revision 6329)
+++ vm/visitor.h (working copy)
@@ -28,6 +28,16 @@
void VisitPointer(RawObject** p) { VisitPointers(p , p); }
};
+
+// An object finder visitor interface.
+class FindObjectVisitor {
+ public:
+ virtual ~FindObjectVisitor() {}
+
+ // Check if object matches find condition.
+ virtual bool FindObject(RawObject* obj) = 0;
+};
+
} // namespace dart
#endif // VM_VISITOR_H_
« vm/stack_frame.cc ('K') | « vm/unit_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698