summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/v8/ScriptProfiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/v8/ScriptProfiler.h')
-rw-r--r--WebCore/bindings/v8/ScriptProfiler.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/WebCore/bindings/v8/ScriptProfiler.h b/WebCore/bindings/v8/ScriptProfiler.h
index b1ab3b1..b75a054 100644
--- a/WebCore/bindings/v8/ScriptProfiler.h
+++ b/WebCore/bindings/v8/ScriptProfiler.h
@@ -32,6 +32,7 @@
#define ScriptProfiler_h
#include "PlatformString.h"
+#include "ScriptHeapSnapshot.h"
#include "ScriptProfile.h"
#include "ScriptState.h"
@@ -39,12 +40,13 @@
namespace WebCore {
+class InspectorObject;
+
class ScriptProfiler : public Noncopyable {
public:
static void start(ScriptState* state, const String& title);
static PassRefPtr<ScriptProfile> stop(ScriptState* state, const String& title);
- static void takeHeapSnapshot();
- static long getProfilerLogLines(long position, String* data);
+ static PassRefPtr<ScriptHeapSnapshot> takeHeapSnapshot(const String& title);
static bool isProfilerAlwaysEnabled();
};