summaryrefslogtreecommitdiff
path: root/Source/WebCore/bindings/js/ScriptDebugServer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/bindings/js/ScriptDebugServer.h')
-rw-r--r--Source/WebCore/bindings/js/ScriptDebugServer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/WebCore/bindings/js/ScriptDebugServer.h b/Source/WebCore/bindings/js/ScriptDebugServer.h
index 3f7bd4f64..0ecd5a870 100644
--- a/Source/WebCore/bindings/js/ScriptDebugServer.h
+++ b/Source/WebCore/bindings/js/ScriptDebugServer.h
@@ -92,6 +92,12 @@ public:
bool isPaused() { return m_paused; }
+ class Task {
+ public:
+ virtual ~Task() { }
+ virtual void run() = 0;
+ };
+
protected:
typedef HashSet<ScriptDebugListener*> ListenerSet;
typedef void (ScriptDebugServer::*JavaScriptExecutionCallback)(ScriptDebugListener*);