Chromium Code Reviews| Index: src/heap-profiler.h |
| =================================================================== |
| --- src/heap-profiler.h (revision 10391) |
| +++ src/heap-profiler.h (working copy) |
| @@ -73,6 +73,13 @@ |
| return snapshots_->is_tracking_objects(); |
| } |
| + class ExternalResourceVisitor { |
|
mnaganov (inactive)
2012/01/11 18:50:23
Do you really need this class? What's wrong with u
yurys
2012/01/11 19:50:13
Done. I thought we try to work only with internal
|
| + public: |
| + virtual void VisitExternalString(String* string) = 0; |
| + virtual ~ExternalResourceVisitor() {} |
| + }; |
| + static void VisitExternalResources(ExternalResourceVisitor* visitor); |
|
mnaganov (inactive)
2012/01/11 18:50:23
The same is for the implementation. Perhaps, put t
yurys
2012/01/11 19:50:13
Done.
|
| + |
| private: |
| HeapProfiler(); |
| ~HeapProfiler(); |