Index: src/heap-profiler.h |
diff --git a/src/heap-profiler.h b/src/heap-profiler.h |
index 2ef081ee29973b4572932517674f9179a17732cf..31d0aff02f80b9e2f6fee73aed590b5e4c1d4657 100644 |
--- a/src/heap-profiler.h |
+++ b/src/heap-profiler.h |
@@ -56,8 +56,12 @@ class HeapProfiler { |
static void TearDown(); |
#ifdef ENABLE_LOGGING_AND_PROFILING |
- static HeapSnapshot* TakeSnapshot(const char* name, int type); |
- static HeapSnapshot* TakeSnapshot(String* name, int type); |
+ static HeapSnapshot* TakeSnapshot(const char* name, |
+ int type, |
+ v8::ActivityControl* control); |
+ static HeapSnapshot* TakeSnapshot(String* name, |
+ int type, |
+ v8::ActivityControl* control); |
static int GetSnapshotsCount(); |
static HeapSnapshot* GetSnapshot(int index); |
static HeapSnapshot* FindSnapshot(unsigned uid); |
@@ -75,8 +79,12 @@ class HeapProfiler { |
private: |
HeapProfiler(); |
~HeapProfiler(); |
- HeapSnapshot* TakeSnapshotImpl(const char* name, int type); |
- HeapSnapshot* TakeSnapshotImpl(String* name, int type); |
+ HeapSnapshot* TakeSnapshotImpl(const char* name, |
+ int type, |
+ v8::ActivityControl* control); |
+ HeapSnapshot* TakeSnapshotImpl(String* name, |
+ int type, |
+ v8::ActivityControl* control); |
HeapSnapshotsCollection* snapshots_; |
unsigned next_snapshot_uid_; |